[darcs-users] A comparison of Darcs and Git

Trent W. Buck twb at cybersource.com.au
Wed Dec 16 02:01:27 UTC 2009

Marc Weber <marco-oweber at gmx.de> writes:

> - each git commit has a uniq name: its hash.
>   Does darcs use hashes as well now?

It has had hashes since 2.0.0.

>   Can I say darcs unpull $HASH ?
>   Or darcs pull $HASH $REMOTE_REPO ?

Yes, using --match.  See "darcs help patterns".

> In darcs you can record regex replacement change.
> But when to apply this feature?

Never ever ever.  I've made my case against "darcs replace" in previous
threads, which I'm too lazy to dig up citations for.

> Probably this is so much work that nobody will ever implement it.

That was the consensus regarding a "smart" replace operation.
See also "structured editing".

More information about the darcs-users mailing list