Issue959

Title new GNU Arch source converter (was: new baz converter)
Priority feature Status resolved
Superseder Nosy List aleix
Assigned To Topics

Created on 2008-01-31.09:43:51 by aleix, last changed 2008-02-06.10:56:54 by aleix.

Files
File name Uploaded Type Edit Remove
crew-gnuarch.patch aleix, 2008-02-04.09:11:43 text/plain
Messages
msg5116 (view) Author: aleix Date: 2008-02-06.10:56:54
The patch has been applied to crew.
msg5095 (view) Author: aleix Date: 2008-02-04.09:11:43
I attach a patch against crew. Directory renaming works fine. Link modifications 
also work. '--rev' options is supported.
msg5053 (view) Author: aleix Date: 2008-01-31.11:29:38
I have made a few changes to support baz and tla, so I have also change the
converter name to GNU Arch. One can convert a repository created with baz via
tla and viceversa.
msg5049 (view) Author: aleix Date: 2008-01-31.09:43:50
I've been working with a new baz (GNU arch) converter for the convert
extension. The converter is quite slow, as I didn't know how to
compute a changeset between patches easily. The log files might not
provide all the information needed (added, removed, modified files),
so I decided to use the 'delta' command which computes all this
information, and this takes a bit of time.

I still have problems when renaming directories. In the getchanges
function I create a copies dictionary like I do in files (e.g. {
'src/foo1': 'src/foo2' }). Is this the right way? Should I create
copies for all files in directory recursively? (this does not seem the
best way to do it).

I also sent this information to the devel mailing list:

http://www.selenic.com/pipermail/mercurial-devel/2008-January/004568.html
History
Date User Action Args
2008-02-06 10:56:54aleixsetstatus: chatting -> resolved
messages: + msg5116
2008-02-04 09:12:20aleixsetfiles: - gnuarch.py
2008-02-04 09:11:47aleixsetfiles: + crew-gnuarch.patch
messages: + msg5095
title: new GNU Arch converter (was: new baz converter) -> new GNU Arch source converter (was: new baz converter)
2008-01-31 11:29:47aleixsetfiles: - baz.py
2008-01-31 11:29:39aleixsetfiles: + gnuarch.py
status: unread -> chatting
messages: + msg5053
title: new baz converter -> new GNU Arch converter (was: new baz converter)
2008-01-31 09:43:51aleixcreate