On May 20, 8:05 am, Yuv <[email protected]> wrote: > Conceptually, the checkins of SVN are equivalent to checkin+push with > hg; and the checkouts of SVN are equivalent to pull+checkout with hg.
and to complete this: updates of SVN are equivalent to pull+update with hg. > At the beginning of the work session: > * If you are online do `hg pull` if connected to the net (but it's not > tragic if there is no network) > * do `hg co` right after pulling or if you want to work on a different > branch actually `hg co` the first time and then `hg up` subsequent times. and if you want to change branches, then list them with `hg branches`; display the current branch with `hg branch`; set to another branch with `hg branch <BRANCH>`. The equivalent to SVN's "trunk" is "default". If `hg branch <BRANCH>` protests, you can override it with `hg branch -f <BRANCH>`, however it may have good reason to protest such as an edited file that has not been committed (you want to do `hg ci` to save your work on the current branch); or there may be some cruft such as temporary files that make hg think you may have work in progress that has not been committed yet while you know it is just cruft (in which case the -f option is OK). > During the work session: > * edit the code > * do `hg ci` after every change and document it in the commit > comment. You can commit often, it is faster and more convenient than > with SVN because it is not dependent on the network. *important*: a > commit is only local, on your HDD. To be equivalent to an SVN commit, > you also have to push it (see next steps) > At the end of the work session (or when you've added enough change > that you think is worth backing up / pushing to other developers to > try): > * do `hg pull` again > * do `hg co` again sorry, this should have read `hg up` Yuv -- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
