Hi Stephane,

On Sun, Apr 22, 2007 at 21:53:18 +0200, Stephane Bortzmeyer wrote:
> darcs trackdown allows me to find out the first occurrence of a string
> (for instance "when did I add Atom support in Site.tmpl?"):

Well, for each patch it unpulls, trackdown -v outputs 'Trying without
the patch:' and then a patch name.

> % darcs trackdown -v 'grep -i atom Site.tmpl'                        

I might be confusing myself here, but wouldn't you want grep -I -i?
The idea is that you want to look for cases where Site.tmpl does *not*
have atom in it (so that you know the patch that was just removed was
the one that introduced it).

Also you might be interested in darcs changes, which is typically where
I go to find out about this stuff (assuming I write the appropriate
patch comments).  Changes -v also shows you the contents of each patch,
but watch out, because if you do darcs changes -v Site.tmpl, you will
also get changes to all files, within the relevant patches.

-- 
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon français.

Attachment: pgpcERJMCZXPy.pgp
Description: PGP signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to