[darcs-users] [ANNOUNCE] darcs-fast-export

Eric Kow kowey at darcs.net
Thu Nov 27 13:04:01 UTC 2008


On Thu, Nov 27, 2008 at 13:36:54 +0100, Miklos Vajna wrote:
> http://frugalware.org/~vmiklos/logs/darcs-show-contents.log
> 
> $ darcs --version
> 2.1.2 (+ 266 patches)
> 
> It seems that it's slow because it goes through each patches. If I
> understand correctly, then this is because of a decision on "we store
> patches only, not the contents", so in that case 18sec may be fast
> enough.

Ah I just noticed that you were using a matcher.  If you just did darcs
show contents on a file without the matcher, it should be instantaneous
(since we have the latest recorded version in pristine).  Otherwise, it
may be useful to check if darcs show contents works by applying patches
'forward' or unapplying patches backwards.  The latter option (which is
how darcs get --match works) may be more sensible if people tend to use
darcs show contents to look up relatively recent versions of files.

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081127/44db36a5/attachment.pgp 


More information about the darcs-users mailing list