Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > subversion & mingw

Discussion topic

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Back to topic list

subversion & mingw

Author hauner
Full name Martin Hauner
Date 2009-11-07 07:40:24 PST
Message Hi,

I'm fighting again with a drive letter case issue on mingw.

My current problem is that all python tests do not run. After a couple of
hours printf debugging in the python code I found the reason. The problem
is that the creation of the sandbox fails. After checkout it validates the
output of svn co which doesn't fit to the expected output.

It fails because svn co prints the progress with absolute paths (<- that
is the error) to stdout and the python code expects relative paths.

svn fails to create a relative path in notify(notify.c:139) when calling

After adding printf's I see this:


Note the different case of the drive letter. Because of the case
mismatch svn_dirent_skip_ancestor doesn't strip the prefix and notify
prints an absolute path instead of a relative path.

Now I'm a bit lost in the svn source code. I can't find the place where
nb->path_prefix in notify(notify.c:139) comes from.

I tried to search for "path_prefix =" but that didn't help much. svn
doesn't stop at the breakpoints I set.

Can someone point me to the location where the path_prefix comes from?


Subcommander 2.0.0 Beta 5 - http://subcommander.tigris.org
a Win32/Unix/MacOSX subversion GUI client & diff/merge tool.

« Previous message in topic | 1 of 3 | Next message in topic »


Show all messages in topic

subversion &amp; mingw hauner Martin Hauner 2009-11-07 07:40:24 PST
     Re: subversion &amp; mingw Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2009-11-07 07:50:44 PST
         Re: subversion &amp; mingw Martin Hauner <martin dot hauner at gmx dot net> Martin Hauner <martin dot hauner at gmx dot net> 2009-11-07 08:56:57 PST
Messages per page: