diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2008-11-07 19:33:37 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2008-11-07 19:33:37 +0000 |
commit | c73f73140fe3d18287a50bc04fd367e08e8e0ba8 (patch) | |
tree | f2610ba5914738439c255f229fa17461ec0f45b9 /RepSys/mirror.py | |
parent | 487539a7a081c72c8414efe4026f104ff6d92ac3 (diff) | |
download | mgarepo-c73f73140fe3d18287a50bc04fd367e08e8e0ba8.tar mgarepo-c73f73140fe3d18287a50bc04fd367e08e8e0ba8.tar.gz mgarepo-c73f73140fe3d18287a50bc04fd367e08e8e0ba8.tar.bz2 mgarepo-c73f73140fe3d18287a50bc04fd367e08e8e0ba8.tar.xz mgarepo-c73f73140fe3d18287a50bc04fd367e08e8e0ba8.zip |
Changed repsys submit to use the parent URL when working on mirror
checkouts
Diffstat (limited to 'RepSys/mirror.py')
-rw-r--r-- | RepSys/mirror.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/RepSys/mirror.py b/RepSys/mirror.py index 09d72de..f0d2316 100644 --- a/RepSys/mirror.py +++ b/RepSys/mirror.py @@ -81,6 +81,10 @@ def switchto_parent(svn, url, path): newurl = mirror_relocate(mirror_url(), layout.repository_url(), url, path) return newurl +def switchto_parent_url(url): + newurl = relocate_path(mirror_url(), layout.repository_url(), url) + return newurl + def switchto_mirror(svn, url, path): newurl = mirror_relocate(layout.repository_url(), mirror_url(), url, path) return newurl |