On Sun, Nov 30, 2008 at 18:22:48 -0500, Norman Ramsey wrote: > What I would consider reasonable is that there be a > > darcs getpref > > to balance darcs setpref. It's a fundamental principle of design that > when you offer an interface that mutates state, you should also offer > a way to observe that state.
That's quite a fair request, one which I *think* the show repo command fulfills. > > Does darcs show repo | grep boringfile help? > > Not hardly: > > : [EMAIL PROTECTED] 699 ; darcs show repo > Type: darcs > Format: darcs-1.0 > Root: /home/nr/cs/40/www/solutions/um > Pristine: PlainPristine "_darcs/pristine" > Cache: thisrepo:/home/nr/cs/40/www/solutions/um > Num Patches: 88 > : [EMAIL PROTECTED] 700 ; darcs -v > 2.0.2 (release) Ah, my understanding here is that show repo does not print out any prefs which are unset, which makes me think than an (unfortunately more elaborate) way to go might be: (darcs show repo | grep boringfile) || echo _darcs/prefs/boring -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
