[darcs-users] [Haskell-cafe] Switching from Mercurial to Darcs
Christian.Kellermann at nefkom.net
Thu Feb 5 16:30:12 UTC 2009
basically you can use darcs the same way you use mercurial.
1) darcs whatsnew --summary -l to see which files changed.
2) set the boring file in darcs
3) is a bit tricky and not so easily done. You would need to watch
out for additions and removals in the whatsnew command.
4) darcs rec -a -m 'commit name' will behave exactly like mercurials
commit and will not ask you for individual hunks.
5) darcs pull -a, note that this will change your working copy. To
check for conflicts before doing so, add the --dry-run flag.
Note that you will lose a lot of flexibility when recording with
'a'. I consider this level of granularity one of the shining features
that makes darcs such a beautiful tool. If you ever get lost, which
change you commited, you can use 'l' to get a list of accepted
changes, you can change them anytime in the interactive selection
process by going back.
To speed things up you can always set these flags as default in
your darcs peference file.
Hope this helps,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
More information about the darcs-users