File permissions
Pat Josh
tennisanyday at gmail.com
Tue Aug 11 12:08:51 CDT 2009
Thanks Robert for the reply. I was talking about execute permissions only
(sorry for not making that clear initially)
inotify extension is not enabled. I ran hg manifest -v and the file that I
changed the execute permissions for is shown with a "*". So that means
mercurial sees it as modified but I dont get it in the output of hg status
:(
Thanks
Pat
On Tue, Aug 11, 2009 at 5:34 AM, Robert Bauck Hamar
<r.b.hamar at usit.uio.no>wrote:
> *Pat Josh:
>
>> I cloned a copy of repository from my team gate and I changed file
>> permission for one file in my local workspace.
>>
>
> Which file permissions? Mercurial only tracks execute permissions.
>
> Now 'hg status' doesn't show this file as modified. The only change to
>> this file is the permission. Any idea why this happens?
>>
>
> * Is the inotify extension enabled?
> * Did you change any other permissions than the execute permission?
>
> How can I commit only the file permission change to the repository?
>>
>
> $ hg init
> $ echo echo foo > a.sh
> $ hg add a.sh
> $ hg ci -m test
> $ hg manifest -v
> 644 a.sh
> $ chmod 755 a.sh
> $ hg st
> M a.sh
> $ hg ci -m test
> $ hg manifest -v
> 755 * a.sh
>
> If you want any other permissions tracked, the place to do it is in your
> Makefile or install script.
>
> --
> Robert Bauck Hamar
> USIT/SAPP/GT - Cerebrum
> http://www.uio.no/sok?person=hamar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090811/21cc6f56/attachment.htm
More information about the Mercurial
mailing list