hg to track file permission

Matt Mackall mpm at selenic.com
Fri Sep 16 12:05:21 CDT 2005

On Fri, Sep 16, 2005 at 02:15:40PM +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 ?

a) diffs don't contain permission info
b) Mercurial only tracks the execute bit

But you can use hg bundle/unbundle to transmit exact changes
(including executable info, renames, and binary files) from one repo
to another.

Mathematics is the supreme nostalgia of our time.

More information about the Mercurial mailing list