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: 1eb067d456 2008-12-12 kejoki: [./cmd_pull.wiki | <code>pull</code>], 1eb067d456 2008-12-12 kejoki: [./cmd_push.wiki | <code>push</code>], 1eb067d456 2008-12-12 kejoki: [./cmd_rebuild.wiki | <code>rebuild</code>] and 1eb067d456 2008-12-12 kejoki: [./cmd_sync.wiki | <code>sync</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; 1eb067d456 2008-12-12 kejoki: [./cmd_close.wiki | <code>close</code>] them before you move 1eb067d456 2008-12-12 kejoki: them, and then [./cmd_open.wiki | <code>open</code>] them from 44b3fc6b5b 2008-11-17 kejoki: their new locations. 44b3fc6b5b 2008-11-17 kejoki: 1eb067d456 2008-12-12 kejoki: See also: [./cmd_pull.wiki | fossil pull], 1eb067d456 2008-12-12 kejoki: [./cmd_push.wiki | fossil push], 1eb067d456 2008-12-12 kejoki: [./cmd_rebuild.wiki | fossil rebuild], 1eb067d456 2008-12-12 kejoki: [./cmd_sync.wiki | fossil sync], 1eb067d456 2008-12-12 kejoki: [./cmd_open.wiki | fossil open], 1eb067d456 2008-12-12 kejoki: [./cmd_close.wiki | fossil close], 1eb067d456 2008-12-12 kejoki: [./reference.wiki | Reference], 1eb067d456 2008-12-12 kejoki: [http://www.sqlite.org | <b>SQLite</b>]