[Carpet] [Carpet-darcs] Add an example of "manual" scheduling, based on the problem I (and Jonathan) had arose on developers at lists.carpetcode.org as "Carpet scheduling question".

Erik Schnetter schnetter at cct.lsu.edu
Thu Aug 31 22:34:01 CEST 2006


On Aug 31, 2006, at 14:46:54, Luca Baiotti wrote:

> By the way, it would be nice if it were possible in darcs to unpull in
> an easy way all the patches pushed after a given date. This would also
> make it easier to find which patch broke a particular testsuite.

Darcs does not remember the date at which a patch was pushed; it only  
remembers the date at which a patch was recorded.  This is because  
repositories can be copied in many ways, and also because of one  
important property of darcs: the order in which patches are pushed or  
pulled does not matter at all; the result is always the same.  The  
patches in a repository are ordered by date-added, but there are some  
repository actions that reorder patches.  You can try

	darcs unpull --last=10

and see whether this does what you expect.  There is also an "-- 
interactive" option.

Having said that, you can look into the directory _darcs/patches to  
see the individual patches, and the time stamps on the files tell you  
when a patch was pushed.  "ls -ltr" lists them sorted by date, and a  
command like

	darcs unpull --matches='hash PATCH-FILE-NAME'

would unpull that particular patch.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20060831/d104f385/attachment.pgp 


More information about the developers mailing list