[darcs-users] Going back to non-tagged version

Tommy Pettersson ptp at lysator.liu.se
Fri Aug 4 13:56:30 UTC 2006


On Fri, Aug 04, 2006 at 11:20:39AM +0100, Paulo J. Matos wrote:
> How can I use darcs to go back to a non-tagged version?

If it isn't tagged, it's not a version. But you can obliterate
the patches you don't want (in a temp repo, or in the working
repo if you keep a master repo where these patches are kept
safe). If you haven't done any fancy things like amend-record or
optimize --reorder, the inventory probably has the patches in
the order they were applied, so obliterating them from the end
one at a time would "go back" along the history time line of the
repo.

For a quick "jump" to a place in the inventory, you can use get
with the --to-patch or --to-match option to create a new repo,
similar to get --tag.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list