[darcs-users] equivalent to 'cvs update -r 1.24' ?
Tommy Pettersson
ptp at lysator.liu.se
Sun Dec 5 13:00:12 UTC 2004
On Sun, Dec 05, 2004 at 01:56:38AM +0000, Mark Stosberg wrote:
> How do other people restore a previous version of a file?
If it's a tagged version I usually 'darcs get --tag v . _tmp-v'
and get the file (or files) from there. But I have used the
'darcs diff | patch -R' technique too.
> 3. 'rollback' the patches you don't want.
Rollback can only rollback undepended patches, but you can
get around this by unpulling these in a temp repo, although
the rollback patch can then cause conflicts when pulled back.
--
Tommy Pettersson <ptp at lysator.liu.se>
More information about the darcs-users
mailing list