HG Filesystem: Re: Backwards compatibility (was Re: how can you tell =?iso-8859-1?q?you=09have=09merged=3F?=)

Arne Babenhauserheide arne_bab at web.de
Fri Sep 12 07:55:05 UTC 2008


Am Freitag 12 September 2008 01:54:43 schrieb Matt Mackall:
> All quite doable. In fact, with FUSE you can do it in userspace, in
> Python. But I'm not sure what the advantage is: most of the interesting
> SCM commands (commit, diff, status, log) don't have natural filesystem
> analogs. The ones that do (mv, cp) are fairly infrequent.

You could provide virtual files which you can use for these commands. 

For example a "diff" file which (when opened) always contains the output of 
"hg diff". 

Best wishes, 
Arne
-- 
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the 
history of free software.
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080912/8521be46/attachment-0001.asc>


More information about the Mercurial mailing list