diff options
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/commands/co.py | 2 | ||||
-rw-r--r-- | RepSys/rpmutil.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/RepSys/commands/co.py b/RepSys/commands/co.py index 0c9d2dc..f2b4d64 100644 --- a/RepSys/commands/co.py +++ b/RepSys/commands/co.py @@ -23,7 +23,7 @@ def parse_options(): opts, args = parser.parse_args() if len(args) not in (1, 2): raise Error, "invalid arguments" - opts.url = default_parent(args[0]) + opts.pkgdirurl = default_parent(args[0]) if len(args) == 2: opts.path = args[1] else: diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py index ed62901..0302089 100644 --- a/RepSys/rpmutil.py +++ b/RepSys/rpmutil.py @@ -344,11 +344,11 @@ def check_changed(url, all=0, show=0, verbose=0): "nocurrent": nocurrent, "nopristine": nopristine} -def checkout(url, path=None, revision=None): +def checkout(pkgdirurl, path=None, revision=None): svn = SVN(baseurl=pkgdirurl) - current = os.path.join(url, "current") + current = os.path.join(pkgdirurl, "current") if path is None: - _, path = os.path.split(url) + _, path = os.path.split(pkgdirurl) svn.checkout(current, path, rev=revision, show=1) def get_submit_info(path): |