[darcs-users] Re: Getting the list of files under version control?

Michael Conrad conradme at email.uc.edu
Fri Dec 10 23:34:27 UTC 2004


On Friday, December 10, 2004 8:20 AM, David Roundy wrote:
> On Tue, Dec 07, 2004 at 05:06:20PM +0000, Mark Stosberg wrote:
> > On 2004-12-07, Stephane Bortzmeyer <bortzmeyer at nic.fr> wrote:
> > > I am certainly completely blind but I do not find a command to get the
> > > list of the darcs-managed files in a directory (something like "cvs
> > > status").
> >
> > It's not built-in now, but it's easy, because darcs keeps a copy of all
> > of these files. So this works:
> >
> > find _darcs/current -type f
<snip/>
> ...  I think a --plain option to annotate might be
> nice, which would for directories just show a listing of their contents
> with no annotations (!) and for files just show their contents (at the
> appropriate version) without annotations.  Of course, one could also
> consider adding this feature to a renamed "query" command ...
<snip/>

Ahem*

$ darcs query controlled .
The following files are version controlled by darcs:
  ./foo
  ./bar
  ./blah

(that was a ficticious command, for those not aware)

-Mike  ;-)

(and I will absolutely learn haskell over winter break so that I can stop
asking and start helping :-)





More information about the darcs-users mailing list