[darcs-users] How to callback very first version of a file into working directory

Tommy Pettersson ptp at lysator.liu.se
Tue Nov 15 11:03:08 UTC 2005


The easiest way is to make a temporary branch of the repo
with Get or Put.  If the version you want is tagged you
can use the --tag option to get that particular version.
Otherwise you'll have to Unpull/Obliterate some patches in
the temp branch until the file is of the right configuration.
Then simply copy it and remove the temporary repo.

There are also other tricks.  Sometimes it is possible to move
(parts of) the working dir back in time with

  'darcs diff --from-<something> <file> | patch -R'


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




More information about the darcs-users mailing list