[darcs-users] [Haskell-cafe] Switching from Mercurial to Darcs

Christian Kellermann Christian.Kellermann at nefkom.net
Thu Feb 5 16:30:12 UTC 2009

Hi Peter,

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
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090205/844407d0/attachment.pgp>

More information about the darcs-users mailing list