OpenVMS port of Mercurial

Matt Mackall mpm at selenic.com
Wed Apr 25 19:50:51 UTC 2007


On Wed, Apr 25, 2007 at 01:16:24PM +0200, Jean-François Piéronne wrote:
> Hi,
> 
> I'm evaluating the port of Mercurial on OpenVMS.
> 
> Initial tests seem to indicate that most of the commands work with
> minimal patches (less than 10 lines).
> 
> I was able to create a repository, insert and update files using the
> commands 'init', 'add', 'commit', 'log', 'diff', 'export'
> I was also able to serve the repository and clone it on a Windows system.
> 
> Currently the only identified broken command is 'clone'
> 
> For example:
> 
> The command
> hg -v --debug clone http://selenic.com/repo/hg/ hg
> give:
> sending heads command
> requesting all changes
> sending changegroup command
> adding changesets
> add changeset 9117c6561b0b
> add changeset 273ce12ad8f1
> add changeset ecf3fd948051
> add changeset 3a6392190075
> add changeset ce3bd728b858
> add changeset 5f249577ac40
> abort: integrity check failed on 00changelog.d:4!

Can you unpack a bundle from another system and vice-versa? Bundles
use the same encoding as network clone except for compression. If this
works, then it's probably something messing with line endings.

> As Mercurial is a fairly large system, it's not easy to track down the
> problem.
> So, any ideas are welcome... (where to add trace for example).

The thing to look at here is localrepository.addchangegroup and
revlog.addgroup. 

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list