[Svnmerge] Error when merging
STenyaK (Bruno González)
stenyak at gmail.com
Mon Mar 5 10:43:24 PST 2007
I finally fixed the problem y checking out from scratch using svn instead of
tortoisesvn. I still don't know what the problem was.
On 3/3/07, STenyaK (Bruno González) <stenyak at gmail.com> wrote:
>
> Excuse my ignorance, what is WC?
>
> Both of us used tortoiseSvn in order to checkout the code. I'm not sure we
> used exactly the same version of tortoisesvn, but i'm 90% sure it was.
>
> Let me know if i can provide more information in order to get this
> working.
>
> On 3/3/07, Daniel Rall <dlr at collab.net> wrote:
> >
> > On Sat, 03 Mar 2007, STenyaK (Bruno González) wrote:
> >
> > > I managed to find out that, yes. But i don't know what's really wrong
> > with
> > > it. Trying a svn info to the 2 dirs in my computer and my mate's
> > computer,
> > > the returned paths are different (in one computer theres %5C, in the
> > other
> > > the slash.
> > > So i guess the problem is either
> > > a)svn has a bug and uses different chars depending on... localization?
> >
> > > dunno..
> >
> > It's most likely a difference in your WCs (the repository root is
> > retrieved from their using 'svn info'). Are you and your friend using
> > different Subversion clients, or is one WC older than the other?
> >
> > > b)svnmerge doesn't check what it should check, or should do some more
> > > conversions to the paths before they can be compared.
> >
> > The data it's working with is not in the expected state. It would be
> > nice to know how it got into this unusual state...
> >
> > > I'm no expert in any of the two programs, so i hope someone with more
> > > knowledge can help...
> > > Once again, thanks in advance for any help.
> > >
> > > On 3/2/07, Daniel Rall <dlr at collab.net> wrote:
> > > >
> > > >On Fri, 02 Mar 2007, STenyaK (Bruno González) wrote:
> > > >
> > > >> Hello, i'm new to svnmerge. I'm using it under windows xp, with svn
> >
> > > >> v1.4.2(r22196), and the
> > > >> svnmerge.exe linked from the wiki page.
> > > >> I have no problems merging things on my computer, but a mate gets
> > this
> > > >error
> > > >> on his:
> > > >>
> > > >> -----------svn merge:
> > > >> Traceback (most recent call last):
> > > >> File "<string>", line 1963, in ?
> > > >> File "<string>", line 1958, in main
> > > >> File "<string>", line 1452, in __call__
> > > >> File "<string>", line 1126, in action_merge
> > > >> File "<string>", line 960, in analyze_source_revs
> > > >> File "<string>", line 914, in analyze_revs
> > > >> File "<string>", line 297, in __init__
> > > >> File "<string>", line 757, in target_to_repos_relative_path
> > > >> AssertionError:
> > > >> url='file:///\\nts-servidor/proyectossourcesafe$/ceca-svn/trunk'
> > > >> , root='file:///%5Cnts-servidor/proyectossourcesafe$/ceca-svn'
> > > >> -----------
> > > >>
> > > >> Any idea how to fix this? Thanks in advance!
> > > >
> > > >Here's the code that's failing, in the second assert:
> > > >
> > > >def target_to_repos_relative_path(target):
> > > > """Convert a target (either a working copy path or an URL) into a
> > > > repository-relative path."""
> > > > root = get_repo_root(target)
> > > > url = target_to_url(target)
> > > > assert root[-1] != "/"
> > > > assert url[:len(root)] == root, "url=%r, root=%r" % (url, root)
> > > > return url[len(root):]
> > > >
> > > >The assertion is failing because the root isn't a prefix of the url,
> > > >because of the "%5C" (escape code) in the root.
> >
> >
>
>
> --
> Saludos,
> STenyaK
>
> _______________________________________________
> Site: http://1ksurvivor.homeip.net <1kSurvivor>
> http://motorsport-sim.org <Motorsport>
> http://kwh.iespana.es <KuantikalWareHouse>
> http://emuletutorial.info <EmuleTutorial>
> ICQ: 153709484
> Mail: stenyak AT gmail DOT com
>
--
Saludos,
STenyaK
_______________________________________________
Site: http://1ksurvivor.homeip.net <1kSurvivor>
http://motorsport-sim.org <Motorsport>
http://kwh.iespana.es <KuantikalWareHouse>
http://emuletutorial.info <EmuleTutorial>
ICQ: 153709484
Mail: stenyak AT gmail DOT com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/svnmerge/attachments/20070305/17dca69c/attachment.html>
More information about the Svnmerge
mailing list