hg to track file permission

Eric M. Hopper hopper at omnifarious.org
Fri Sep 16 08:33:08 CDT 2005


On Fri, 2005-09-16 at 14:15 +0530, Aneesh Kumar wrote:
> Hi, 
> 
> Can i change then file permission of a file tracked by mercurial and
> generate a diff that can be applied to a different repository ?

I've been thinking about this and other issues, and thinking that hg
could really use a tracked metadata system like (I'm muttering the evil
word here) Subversion.

Now, this doesn't have to actually be in the core of Mercurial,
interestingly enough.  The filter code could be used to do it instead.
All that would really be required would be hooks into copy and rename so
the filter code could alter the meta-data then too.  But, I'm not sure
if that idea is brilliant or ugly.

Have fun (if at all possible),
-- 
The best we can hope for concerning the people at large is that they
be properly armed.  -- Alexander Hamilton
-- Eric Hopper (hopper at omnifarious.org  http://www.omnifarious.org/~hopper) --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: This is a digitally signed message part
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050916/9c090fe8/attachment.pgp


More information about the Mercurial mailing list