On Wed, Aug 26, 2009 at 5:47 AM, Ashley Moran<[email protected]> wrote: > Hi > > I'm just looking a bit more at the Ohloh adapter. One of the tests is for > directory listings at a given point in time. For example, the Mercurial > adapter is implemented by calling > > hg manifest -r <token> > > eg > > hg manifest -r 3 > > for the revision 3. > > Is there an equivalent command in darcs, or a way of getting this > information easily? And if there is a way of doing it, can it be done up to > a particular patch addition? > > Because of the timeline-based nature of Ohloh, it'd be nice to do this do a > patch hash, eg > > darcs manifest --to-match='hash <...>' > > or some such. > > Hopefully the intent of what I'm trying to do is clear. Any ideas? > > Thanks > Ashley
There's no direct way I know of; fortunately, this wasn't required for filestore. But I think you could either use get, which does support --match=hash, and then do a darcs query contents, or you could call darcs changes --to-match=hash with the summary and XML options, and parse the addfiles,removefiles,and renames directly? The former is easy but slow, the latter hard but probably no slower than straight darcs changes would be. -- gwern _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
