[darcs-users] darcs patch revision protocol
Pekka Pessi
ppessi at gmail.com
Mon May 28 14:34:25 UTC 2007
2007/5/27, Isaac Dupree <isaacdupree at charter.net>:
> to use amend-record, so I could complain that there doesn't seem to be a
> way to remove modifications from a patch using amend-record, just to add
> them)
That is simple. Undo your changes and amend them. Darcs is intelligent
enough to combine your changes.
$ touch foobar
$ darcs add foobar
$ darcs record -m"foobar" foobar --all
Recording changes in "foobar":
Finished recording patch 'foobar'
$ darcs remove foobar
$ darcs amend-record foobar --all
Amending changes in "foobar":
Mon May 28 17:25:12 EEST 2007 Pekka.Pessi at nokia.com
* foobar
Shall I amend this patch? [yNvpq], or ? for help: y
Finished amending patch:
Mon May 28 17:25:35 EEST 2007 Pekka.Pessi at nokia.com
* foobar
$ darcs changes --last 1 -v
Mon May 28 17:25:35 EEST 2007 Pekka.Pessi at nokia.com
* foobar
-
Pekka.Pessi mail at nokia.com
More information about the darcs-users
mailing list