Commit notifies invalid paths on windows (Issue #3168)
From: Bert Huijben <B.Huijben_at_competence.biz>
Date: Wed, 9 Apr 2008 12:04:48 +0200
Hi,
As I noted on irc yesterday I created the following issue
-- The definition of svn_wc_notify_func2_t function uses svn_wc_notify_t which declares typedef struct svn_wc_notify_t { /** Path, either absolute or relative to the current working directory * (i.e., not relative to an anchor). */ const char *path; But calling (at the client level in pseudo code) svn.Commit("E:\tmp\wc",....) when your current directory is "E:\dev\sharpsvn\src\SharpSvn.Tests" Gives you notifies where the path is "tmp\wc\testfile.txt" which is neither a valid relative path nor a valid absolute path. lgo mentioned on irc this bug is related to issue #1711. Further testing in the SharpSvn testsuite showed the issue is triggered on all notifies from Commit() but is /not/ triggered from most import calls (did not test all variants), or any of the other commands run from the SharpSvn testsuite (extended version of AnkhSVN's NSvn tests). I really would like to have this issue fixed for (at least) absolute paths in 1.5, as this breaks using the notify for updating the in memory cache in the new AnkhSVN. (More on this in issue #3147) -- Looking through the code seems to tell this issue has been in subversion since far before 1.0, but I really would like to have some solution in 1.5 (or at least the 1.5.x branch, so I can merge it in the subversion build from the SharpSvn environment) Bert Huijben --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org For additional commands, e-mail: dev-help_at_subversion.tigris.orgReceived on 2008-04-09 12:05:14 CEST |
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.