[darcs-users] Re: Two arch2darcs bugs
John Goerzen
jgoerzen at complete.org
Wed Dec 28 16:34:44 UTC 2005
Hi Daniel,
I'm not sure why --partial didn't work for you. I'll have to
investigate that.
As far as a failure when a file has been both added and removed, I've
heard of that one. Unfortunately, I don't really have much time to
spend on arch2darcs these days -- one reason is that I've already
converted all my repos. Patches would be happily accepted though.
-- John
On 2005-12-15, Daniel Brown <danb at cs.utexas.edu> wrote:
> I'm trying to use arch2darcs, and I've run into two problems.
>
> 1. http://darcs.net/DarcsWiki/ConvertingFromArch says to `darcs get --partial
> http://darcs.complete.org/arch2darcs`, but that gives me an error:
>
> $ darcs get --partial http://darcs.complete.org/arch2d/arcarcs
> Copying patch 33 of 33... done!
> Applying patches to the "working" directory...
> darcs: failed to read patch in get_extra:
> Fri Apr 15 16:51:14 CDT 2005 John Goerzen <jgoerzen at complete.org>
> * Fixed remove bug (no need to use darcs remove)
> Perhaps this is a 'partial' repository?
>
> 2. So instead I `darcs get http://darcs.complete.org/arch2darcs`, and it
> downloads (57 patches) and builds fine. But when I use arch2darcs, it fails on
> an arch patch where the same file (TODO) is both added and removed:
>
> $ tla get danb at cs.utexas.edu--2004/scourse--mainline--1.0--base-0 scourse
> * from import revision: danb at cs.utexas.edu--2004/scourse--mainline--1.0--base-0
> * making pristine copy
> * tree version set danb at cs.utexas.edu--2004/scourse--mainline--1.0
> $ cd scourse/
> $ darcs initialize
> $ arch2darcs -i
> Processing existing Arch situation...
> Looking for new patches...
> Processing danb at cs.utexas.edu--2004/scourse--mainline--1.0--patch-1
> Processing danb at cs.utexas.edu--2004/scourse--mainline--1.0--patch-2
> ...
> Processing danb at cs.utexas.edu--2004/scourse--mainline--1.0--patch-36
> The following file is already in the repository:
> TODO
>
> darcs failed: No files were added
> Command darcs ["add","--case-ok","TODO"] failed; exit code 2
> arch2darcs: user error (Command darcs ["add","--case-ok","TODO"] failed; exit code 2)
>
>>From the arch changelog:
>
> $ tla changelog
> # do not edit -- automatically generated by arch changelog
> # arch-tag: automatic-ChangeLog--danb at cs.utexas.edu--2004/scourse--mainline--1.0#
>
> 2004-12-31 23:45:57 GMT Daniel Brown <danb at cs.utexas.edu> patch-36
>
> Summary:
> (broken) incomplete intermediate commit, non-functional, should have been done with branching
> Revision:
> scourse--mainline--1.0--patch-36
>
>
> new files:
> .arch-ids/FormTransformation.py.id .arch-ids/TODO.id
> FormTransformation.py TODO
>
> removed files:
> .arch-ids/TODO.id TODO
>
> modified files:
> DB.py PageReader.py README Util.py scourse.py
>
>
> ...
>
> Thanks.
>
> Dan
>
--
John Goerzen <jgoerzen at complete.org> GPG: 0x8A1D9A1F www.complete.org
"Value your freedom, or you will lose it, teaches history. `Don't bother us
with politics,' respond those who don't want to learn."
More information about the darcs-users
mailing list