diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-06-12 18:10:38 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-06-12 18:10:38 +0000 |
commit | f41e9b252f08fdc800eec27cc6d5aaec5a65ca54 (patch) | |
tree | ff75105a21b99019c19f4dc7737a0d2fe224e5d3 /RepSys | |
parent | c52e6ee29dea94c1c4ccad7ef77431f0f9e20e6e (diff) | |
download | mgarepo-f41e9b252f08fdc800eec27cc6d5aaec5a65ca54.tar mgarepo-f41e9b252f08fdc800eec27cc6d5aaec5a65ca54.tar.gz mgarepo-f41e9b252f08fdc800eec27cc6d5aaec5a65ca54.tar.bz2 mgarepo-f41e9b252f08fdc800eec27cc6d5aaec5a65ca54.tar.xz mgarepo-f41e9b252f08fdc800eec27cc6d5aaec5a65ca54.zip |
Added small note about the behavior of pysvn's Client.relocate
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/mirror.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/RepSys/mirror.py b/RepSys/mirror.py index 8502b82..1e9e9c2 100644 --- a/RepSys/mirror.py +++ b/RepSys/mirror.py @@ -47,6 +47,8 @@ def enabled(wcurl=None): def mirror_relocate(oldparent, newparent, url, wcpath): svn = SVN() newurl = relocate_path(oldparent, newparent, url) + # note that svn.relocate requires paths without trailling slashes, + # http://foo/svn/bar/baz/ will fail svn.relocate(url, newurl, wcpath) return newurl |