hg to track file permission
aneesh.kumar at gmail.com
Sat Sep 17 05:33:29 CDT 2005
On 9/16/05, Matt Mackall <mpm at selenic.com> wrote:
> 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
I understand. But git introduced a diff format that takes care of this.
> 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.
But mercurial didn't list me any change when i changed the file mode.
I was expecting that the hg status will tell me that the file
permission had change.
More information about the Mercurial