update into a different folder?
Mads Kiilerich
mads at kiilerich.com
Mon Aug 1 14:07:21 UTC 2011
On 08/01/2011 03:47 PM, Jack Beauregard wrote:
> What I wanna do... I want to bring two repositories together. They
> have a different folder layout. The 1st step is clone an existing
> repository(a) and give them the shape of the other on(b).
> b has the correct layout /LVL1/<sources>.
Do b really have the correct layout? Or are you describing how it should
look like? From the rest of what you are writing I assume the latter.
> a has no subdir: / After
> cloning and hg update I get /.hg and /<sources>. Now I want to
> have /.hg and /LVL1/<sources>.
I would first 'hg convert' the LVL1 repo with a 'rename . /LVL1'
filemap, then pull the new repo into the first (with pull -f), and
finally merge the heads of the two trees.
> hg mv is really a hint but if I do that
> I get abort: destination is not a directory, but of course it is one.
Please paste a command line session that demonstrates this.
/Mads
More information about the Mercurial
mailing list