Commit graph

10 commits

Author SHA1 Message Date
cinap_lenrek 40d11cea3f hgfs: various improvements
lazily close revlog files and keep up to 8
revlogs arround. also cache the latest extracted
file descriptor of a revision in the revlog.
this avoids the quite expensive reextracting/patching
when we reopen the same file revision.

dont use the racy mktemp()/create, instead create
a uniqueue name and create with OEXCL. this also
avoids a bunch of access() calls.

fix eof case and use pread() in fcopy() to avoid the
seeks.

dont modify changelog temp file but simulate trailing
newline instead.
2012-11-21 19:22:46 +01:00
cinap_lenrek 4b2a1c104b hgfs: strip metadata header, bogus .n walks 2012-11-01 03:42:24 +01:00
cinap_lenrek 6812f4679b hgfs: more work in progress stuff 2012-10-28 23:18:38 +02:00
cinap_lenrek 62186910fa hgfs: fix path mangeling bug, find dothg on startup 2011-06-30 03:05:10 +02:00
cinap_lenrek 6d91601a77 hgfs: get previous file revisions with appending .n or .revn 2011-06-28 03:51:05 +02:00
cinap_lenrek d0485d345d hgfs: change semantics of log to contain only the file list 2011-06-27 10:07:19 +02:00
cinap_lenrek 0f61b5506c hgfs: honor x-bit in manifest 2011-06-27 11:27:32 +00:00
cinap_lenrek 2b5a7cebc2 hgfs: add tree caching 2011-06-27 09:45:33 +00:00
cinap_lenrek 637a770a16 hgfs: update index 2011-06-27 05:43:25 +00:00
cinap_lenrek bc1ff6985c add hgfs, a mercurial filesystem 2011-06-26 07:03:12 +02:00