forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mercurial on VMS 8.4 Itanium?

 
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS
View previous topic :: View next topic  
Author Message
juhl



Joined: 09 Feb 2012
Posts: 1

PostPosted: Fri Feb 10, 2012 12:25 am    Post subject: Mercurial on VMS 8.4 Itanium? Reply with quote

Has anyone tried using Mercurial from the disk images in jfplib0004i.zip/jfppy0100i_272.zip on VMS 8.4? It seems to be okay when run as SYSTEM, but regular users run into problems with symbolic links fairly quickly:

Code:
$ @mercurial_root:[vms]setup
$ create/dir sys$sysdevice:[users.juhl.repo1]/version=1
$ set def sys$sysdevice:[users.juhl.repo1]
$ hg init ./
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
0 files, 0 changesets, 0 total revisions
$ create empty.txt
 Exit
$ set file/attr=rfm:stmlf empty.txt
$ hg status
? empty.txt
$ dir

Directory SYS$SYSDEVICE:[users.JUHL.repo1]

^.hg.DIR;1          empty.txt;1         

Total of 2 files.
$ hg add
adding empty.txt
$ dir

Directory SYS$SYSDEVICE:[users.JUHL.repo1]

^.hg.DIR;1          empty.txt;1         

Total of 2 files.
$ hg commit
8 lines read from file SYS$SYSDEVICE:[users.JUHL]hg-editor-t0iJRC.txt;1

HG: Enter commit message.  Lines beginning with 'HG:' are removed.
HG: Leave message empty to abort commit.
HG: --
HG: user: JUHL
HG: branch 'default'
HG: added empty.txt
[End of file] Buffer: HG-EDITOR-T0IJRC.TXT                        | Write | Insert | Forward

abort: empty commit message
$ dir

Directory SYS$SYSDEVICE:[users.JUHL.repo1]

^.hg.DIR;1          empty.txt;1         

Total of 2 files.
$ hg status
A empty.txt
$ hg commit
8 lines read from file SYS$SYSDEVICE:[users.JUHL]hg-editor-ZcPI0B.txt;1

HG: Enter commit message.  Lines beginning with 'HG:' are removed.
HG: Leave message empty to abort commit.
HG: --
HG: user: JUHL
HG: branch 'default'
added empty.txt
[End of file] Buffer: HG-EDITOR-ZCPI0B.TXT                        | Write | Insert | Forward
8 lines written to file SYS$SYSDEVICE:[users.JUHL]hg-editor-ZcPI0B.txt;2
$ dir

Directory SYS$SYSDEVICE:[users.JUHL.repo1]

^.hg.DIR;1          empty.txt;1         hg-checklink-22QUDC.;1

Total of 3 files.
$ hg status
$ copy empty.txt foo.c
$ hg add
adding foo.c
abort: could not lock working directory of /SYS$SYSDEVICE/users/JUHL/repo1: too
many levels of symbolic links
$


Note that the first commit of empty.txt was aborted, and the second one completed by changing the commit message. After this there is the odd file
Code:
hg-checklink-22QUDC.;1
- once one of these exists, it seems the repository is corrupted. From the HP OpenVMS Version 8.4 Release Notes, Section 3.6 Symbolic Links Implementation Changes, I'm wondering if there was a change in the symbolic link implementation that is incompatible with Mercurial's use. Note that the above sequence of commands performed on 8.3-1H1 succeeds. Has anyone got Mercurial running on 8.4? Thanks very much.
Back to top
View user's profile Send private message
jfp



Joined: 12 Jul 2004
Posts: 636

PostPosted: Fri Feb 10, 2012 8:15 pm    Post subject: Reply with quote

Thanks for the reproducer,

I will investigate and try to find a workaround.


JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group