Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4973204
By: davidw511

This question is similar to "Out of sync with command line" thread, but I think
it addresses a larger question.

My set up:
running tortoise HG version 0.3 (with Mercurial-9f1e6ab76069+tortoisehg,
Python-2.5.1, PyGTK-2.10.4, GTK-2.10.11)
Mercurial repository is on a network share, visible to both windows and solaris.
I created the repository using tortoiseHG on a mapped network drive, i.e., 
G:\myRepo.
Everything works fine within the windows world. I have used both the tortoise
GUI and mercruial via windows command prompt.

However, I then tried installing a copy of mercurial on a sun box that sees
this repo as an NFS mount (i.e., /nfs/myRepo)

Now, when I use the solaris version of mercurial, hg status shows all the files
as modified. Everything else is fine: hg tip, hg branch, hg log, etc. all have
current and correct repository info when run from solaris mercurial.

As an experiment, I went ahead and committed all the 'modified' files using
the solaris mercurial. solaris mercurial did the commit, but now the tortoise
HG shows all files as modified!

Digging a little deeper, I noticed that the file permissions in the dirstate
(hg debugstate) are changing from 744 (following the unix commit) to 666 
(following
the tortoise HG commit). Unix shows that the files on disk have a permission
of 744.

I then used unix chmod to set all the file permissions to 666 (read-write by
anyone.) Now both tortoise hg and solaris hg agreed that there are no modified
files.

While the obvious work around is to chmod all files to be 666 in unix, this
doesn't seem like a real solution, as it pretty much defeats the entire unix
file permission mechanism. (And prevents me from marking shell scripts
as executable)

Is there any way to get tortoise HG to recognize the unix file permissions?

Any suggestions?

thanks in advance,

Dave

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=708261

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to