Cannot commit Mercurial 2.3.1-20120908 fro OS X 10.8

Phil Virgo pwvirgo at gmail.com
Tue Feb 26 11:06:23 UTC 2013


I use mercurial on windows - but now trying on Mac from terminal and I am
stuck because I cannot commit.   Any help would be appreciated!

'hg commit'  or 'sudo hg commit' both give the same message  (from TextEdit)

'The document "hg-editor-i40eg.txt" could not be opened. You don't have
permission.'

I am no pro at linux or OS X but I do seem to have rw permission on the
project and the entire .hg directory.  I am not clear where it is trying to
create that file.

Phils-MacBook-Pro:tmp pwv$ ls -la
total 8
drwxr-xr-x   4 pwv  staff  136 Feb 26 03:49 .
drwxr-xr-x  10 pwv  staff  340 Feb 26 03:48 ..
drwxr-xr-x   6 pwv  staff  204 Feb 26 05:44 .hg
-rw-r--r--   1 pwv  staff   21 Feb 26 03:49 x.txt
Phils-MacBook-Pro:tmp pwv$ cd .hg
Phils-MacBook-Pro:.hg pwv$ ls -la
total 24
drwxr-xr-x  6 pwv  staff  204 Feb 26 05:44 .
drwxr-xr-x  4 pwv  staff  136 Feb 26 03:49 ..
-rw-r--r--  1 pwv  staff   57 Feb 26 03:49 00changelog.i
-rw-r--r--  1 pwv  staff   62 Feb 26 03:49 dirstate
-rw-r--r--  1 pwv  staff   33 Feb 26 03:49 requires
drwxr-xr-x  2 pwv  staff   68 Feb 26 03:49 store
Phils-MacBook-Pro:.hg pwv$ man ls
Phils-MacBook-Pro:.hg pwv$ ls -laR
total 24
drwxr-xr-x  6 pwv  staff  204 Feb 26 05:44 .
drwxr-xr-x  4 pwv  staff  136 Feb 26 03:49 ..
-rw-r--r--  1 pwv  staff   57 Feb 26 03:49 00changelog.i
-rw-r--r--  1 pwv  staff   62 Feb 26 03:49 dirstate
-rw-r--r--  1 pwv  staff   33 Feb 26 03:49 requires
drwxr-xr-x  2 pwv  staff   68 Feb 26 03:49 store

./store:
total 0
drwxr-xr-x  2 pwv  staff   68 Feb 26 03:49 .
drwxr-xr-x  6 pwv  staff  204 Feb 26 05:44 ..
Phils-MacBook-Pro:.hg pwv$

================================================
Installing Mercurial 2.3.1-20120908 fro OS X 10.8

This package installs the hg executable in /usr/local/bin and the Mercurial
files in /Library/Python/2.7/site-packages/mercurial.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20130226/ad0eabcd/attachment-0002.html>


More information about the Mercurial mailing list