All of lore.kernel.org
 help / color / mirror / Atom feed
* Mercurial Repositories on xenbits.xensource.com/Mercurial version 0.6c
@ 2005-08-23 11:07 James Bulpin
  0 siblings, 0 replies; only message in thread
From: James Bulpin @ 2005-08-23 11:07 UTC (permalink / raw)
  To: xen-devel

Summary:
   1. xenbits is now running the latest version of Mercurial with no
      apparent problems
   2. people wishing to upgrade their version of Mercurial to 0.6c
      using a local repository created with an older version will
      need to tweak their repository.

Detail:

Matt Mackall, the Mercurial developer, has found the cause of the 
problems we were experiencing with the upgrade to Mercurial 0.6c. The 
full detail was forwarded to this list by Ling Xiaofeng earlier under 
the title "FW: problem for mecurial 0.6c". The following is the xenbits 
specific stuff.

The root cause was a change to the on-disk file layout affecting 
directories that end in ".d" (tools/examples/init.d being our problem). 
What this means for us is that any repository cloned or init'ed with a 
version of Mercurial prior to 0.6c will need to be tweaked using the 
process suggested by Matt:

    find .hg -type d -name "*.[di]" -exec echo mv {} {}.hg ";"

    Run this at the top of your working dir. Take out the 'echo' once
    you've confirmed it's finding the right files.

(An alternative method is to create a fresh clone from xenbits using 
0.6c as this will create the correct file layout.)

I've done this to all repositories on xenbits and we are now running 
0.6c which appears to be working fine now. All repositories verify 
successfully.

Note that this only applies to repositories created with Mercurial 
versions older than 0.6c which are now accessed with 0.6c. The wire 
protocol is unchanged as it is only local on-disk layout that differs. 
This issue will *not* affect the following scenarios:
  - fresh clones made with any Mercurial version
  - any use of 0.6b or earlier as the client (the fact that our server 
runs 0.6c makes no difference)

Regards,
James

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-23 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23 11:07 Mercurial Repositories on xenbits.xensource.com/Mercurial version 0.6c James Bulpin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.