[darcs-users] Naming consistency between darcs and other DVCSs

Trent W. Buck twb at cybersource.com.au
Thu Jul 16 01:56:28 UTC 2009


Eric Kow <kowey at darcs.net> writes:

> I agree.  The problem is that everybody uses rollback/revert in
> different ways, and so I wanted to find a way out by finding some
> universal names that we could build a consensus on (this sort of thing
> wouldn't happen without agreement from other communities).  "Repeal"
> stinks, but I hope you see what I'm getting at.

I'm not sure that (unlaterally) adding new words will do anything but
exacerbate the problem.

> As far as I understand, Mercurial's rollback is our obliterate,

Except that we can obliterate more than once; "hg rollback" is really
only there so that when you interrupt a commit, it can get back to a
coherent state :-/

    $ hg init
    $ touch x y
    $ hg add -q
    $ hg ci -m x x
    $ hg ci -m y y
    $ hg rollback
    rolling back last transaction
    $ hg rollback
    no rollback information available
    $ # Damn, you are stuck with the x patch FOREVER.

> Git's revert is our rollback and our revert is Git's reset.
> This makes it very confusing when you're trying to talk about things
> to folks that use other systems.

This is true.



More information about the darcs-users mailing list