-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 9 August 2005 20:45, Charles Goodwin wrote: > On Tue, 2005-08-09 at 09:55 +0200, Thomas Zander wrote: > > The message is bogus; indeed. It should tell you it does not work on > > directories in case of a directory argument. > > Right, so the problem is twofold: > 1) Incorrect error message (BUG) > 2) Does not work on directories (MISSING FEATURE) > > I say #2 is a missing feature because surely it could (should?) be a > recursive operation just like any other unix command. > > In the end I went with using find/xargs, but now I have 544 patches to > record. I was hoping for just 3 (1 for each token I replaced).
I'd say there is a 3th problem. 3) records a replace per file; even if the file does not have the source pattern. I expect the 'whatsnew' to not show such items. And maybe even: 4) adding a file to the target list that is not recorded should post a warning; not an error. (so "darcs replace *" will work) In other words; the replace command definitely needs some love from a starting haskell programmer :-) - -- Thomas Zander -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFC+PtNCojCW6H2z/QRAn1kAJwMtHWDfbcCcLo6jAhyJRlgvisAHQCfXPtD VQHxJhvqOuycIxDWquvG44Q= =o0ok -----END PGP SIGNATURE----- _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
