[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn blame fails on moved directory trees

From: Jens-Uwe Mager <jum_at_anubis.han.de>
Date: 2003-10-27 21:22:13 CET

We have just upgraded our svn repository from 0.27.x to 0.32.1 using the
usual dump/load dance. It all worked nicely except for a problem with
the new 'svn blame' command. While trying it we have noticed that on
some particular files we get a strange error which you can replicate
remotely:

$ svn blame http://codespeak.net/svn/pypy/trunk/src/pypy/__init__.py
svn: Error string not specified yet
svn: Missing changed-path information for revision 1119 of \
   '/pypy/branch/builtinrefactor/pypy/__init__.py'

This is version 0.32.1 of svn and consistently fails on windows and
linux, locally on the working-copy or remote.

We have an idea which kind of actions may have caused the problem:

In revision 1118 of http://codespeak.net/svn/pypy/branch/ we created
a new branch ('builtinrefactor'). See

    $ svn log -v -r 1118 http://codespeak.net/svn/pypy/branch

Later in revision 1356 we removed a subdirectory of the
trunk and in 1357 we moved

    /pypy/branch/builtinrefactor to /pypy/trunk/src/pypy

See
    $ svn log -v -r 1357:1356 http://codespeak.net/svn/pypy/

The "branch" and "trunk" directories were swapped because
the history of the branch was more important to us then the
history of the trunk. The trunk only contained two commits
while the branch had 20 or so.

From the error message it appears as svn blame lost track of the
path names.

If necessary we can provide the complete repository, it is about 200Mb
in size.

-- 
Jens-Uwe Mager	<pgp-mailto:F476EBC2>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 27 21:23:26 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.