[darcs-users] How to pull all patches recorded before a given date?

Matthias Fischmann fis at wiwi.hu-berlin.de
Mon Oct 2 13:06:10 UTC 2006



hi,

i have a repo with a piece of software, did something stupid at some
point in the last three days, and now want to rewind the status to see
what the version three days ago looks like.  i was hoping for
something like this:

  $ cd /tmp/
  $ darcs get --to-date '2006/09/29 22:00 UTC'

but --to-date doesn't exist.  also, i have found little documentation
on --to-match and --to-patch.  these here pull all the patches (also
the newer ones), and the two latter ones also complain about me being
confused:

/tmp$ darcs get --to-match='hash 20061001203651-71207-f9d03a755eb7247a3fcb9251d2c3352157cf6a09' ~/something
/tmp$ darcs get --to-patch='hash 20061001203651-71207-f9d03a755eb7247a3fcb9251d2c3352157cf6a09' ~/something
/tmp$ darcs get --to-patch='20061001203651-71207-f9d03a755eb7247a3fcb9251d2c3352157cf6a09' ~/something

i am not sure whether this is because of the partial order of patches
that puts the named patch at the top of the repo, or whether i missed
something.

questions:

 (1) what do you people do in this particular situation?

 (2) is there any documentation on the patch and match arguments that
     i missed?

 (3) if the answer to (2) is "no", would somebody care to give me a
     few fragments of knowledge?  in return, i am willing to upgrade
     it into a decent wiki-page, once i've understood it.

thanks a lot,
matthias




More information about the darcs-users mailing list