44b3fc6b5b 2008-11-17 kejoki: <h2>all</h2> 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: The <code>all</code> command will let you perform (some) commands on 44b3fc6b5b 2008-11-17 kejoki: <em>all</em> of your repositories, and provides a way of finding all 44b3fc6b5b 2008-11-17 kejoki: of your repositories as well. 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: There are some commands you might especially want to perform on every 44b3fc6b5b 2008-11-17 kejoki: repository you've got, once in a while. <code> fossil all 44b3fc6b5b 2008-11-17 kejoki: </code> includes four of the most likely as sub-commands: 44b3fc6b5b 2008-11-17 kejoki: <code><a href="cmd_pull.wiki">pull</a></code>, 44b3fc6b5b 2008-11-17 kejoki: <code><a href="cmd_push.wiki">push</a></code>, 44b3fc6b5b 2008-11-17 kejoki: <code><a href="cmd_rebuild.wiki">rebuild</a></code> and 44b3fc6b5b 2008-11-17 kejoki: <code><a href="cmd_sync.wiki">sync</a></code>. 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: Follow the links to find out what each of those do, and then a moment 44b3fc6b5b 2008-11-17 kejoki: of thought will tell you why you might want to have them available for 44b3fc6b5b 2008-11-17 kejoki: all repositories. 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: Certainly you'll want your repositories all rebuilt when you upgrade 44b3fc6b5b 2008-11-17 kejoki: <b>fossil</b> after there has been a change in the repository 44b3fc6b5b 2008-11-17 kejoki: structure. For the others, it depends. Usually you would want 44b3fc6b5b 2008-11-17 kejoki: across-the-board versions if you've been "off Net" for a while, and 44b3fc6b5b 2008-11-17 kejoki: have commits to multiple repositories than you need to share, or want 44b3fc6b5b 2008-11-17 kejoki: to get the repository changes that have been made by others, or both. 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: The last sub-command provided by <code>all</code> is "<code>list</code>." 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: While the other sub-commands give you a way to conveniently take care 44b3fc6b5b 2008-11-17 kejoki: of all of your repositories for some common tasks, the 44b3fc6b5b 2008-11-17 kejoki: <code>list</code> provides a way to take care of any subset of your 44b3fc6b5b 2008-11-17 kejoki: repositories in any way you want. It provides a list of all of your 44b3fc6b5b 2008-11-17 kejoki: repositories' locations. <code>fossil all list</code> 44b3fc6b5b 2008-11-17 kejoki: outputs a one-per-line listing of the path for each of your 44b3fc6b5b 2008-11-17 kejoki: repositories. With that in hand, you can easily script just about any 44b3fc6b5b 2008-11-17 kejoki: repository manipulations you want. 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: Or, you could just jog your memory. 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: The <code>all</code> command uses the <i>.fossil</i> file in the home 44b3fc6b5b 2008-11-17 kejoki: directory to find all of your repositories, so you can mess it up by 44b3fc6b5b 2008-11-17 kejoki: moving your repositories around. This is easy to do inadvertently if 44b3fc6b5b 2008-11-17 kejoki: you have a cavalier attitude about repos, but you'll know pretty 44b3fc6b5b 2008-11-17 kejoki: quickly that you've done it—many commands you try to use from 44b3fc6b5b 2008-11-17 kejoki: inside of a checkout won't work correctly. The <i>.fossil</i> file is 44b3fc6b5b 2008-11-17 kejoki: an <b>sqlite</b> db file which fossil uses to keeping track of 44b3fc6b5b 2008-11-17 kejoki: repository locations. Advice: if you move your repositories around, 44b3fc6b5b 2008-11-17 kejoki: let fossil know you did; 44b3fc6b5b 2008-11-17 kejoki: <code><a href="cmd_close.wiki">close</a></code> them before you move 44b3fc6b5b 2008-11-17 kejoki: them, and then <code><a href="cmd_open.wiki">open</a></code> them from 44b3fc6b5b 2008-11-17 kejoki: their new locations. 44b3fc6b5b 2008-11-17 kejoki: 44b3fc6b5b 2008-11-17 kejoki: See also: <a href="cmd_pull.wiki">fossil pull</a>, 44b3fc6b5b 2008-11-17 kejoki: <a href="cmd_push.wiki">fossil push</a>, 44b3fc6b5b 2008-11-17 kejoki: <a href="cmd_rebuild.wiki">fossil rebuild</a>, 44b3fc6b5b 2008-11-17 kejoki: <a href="cmd_sync.wiki">fossil sync</a>, 44b3fc6b5b 2008-11-17 kejoki: <a href="cmd_open.wiki">fossil open</a>, 44b3fc6b5b 2008-11-17 kejoki: <a href="cmd_close.wiki">fossil close</a>, 44b3fc6b5b 2008-11-17 kejoki: <a href="reference.wiki">Reference</a>, 44b3fc6b5b 2008-11-17 kejoki: <b><a href="http://www.sqlite.org">sqlite</a></b>