summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-07-14 20:39:34 -0700
committerJesse Keating <jkeating@redhat.com>2010-07-14 20:39:34 -0700
commit728dc94b2ec12c4e75097fd078804475c7066ed7 (patch)
treeb3b32c03cd7bcbc0e2970f2449ab7e18259bd9f5 /src/fedpkg.py
parent87634e32d3dc6f7e4d38e7303e69f24e5ba6b2d9 (diff)
downloadfedora-packager-728dc94b2ec12c4e75097fd078804475c7066ed7.zip
fedora-packager-728dc94b2ec12c4e75097fd078804475c7066ed7.tar.gz
fedora-packager-728dc94b2ec12c4e75097fd078804475c7066ed7.tar.xz
Add a co "alias" to clone.
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-xsrc/fedpkg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index 2af15e9..1f2733f 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -715,6 +715,10 @@ packages will be built sequentially.
help = 'Name of the module to clone')
parser_clone.set_defaults(command = clone)
+ parser_co = subparsers.add_parser('co', parents = [parser_clone],
+ conflict_handler = 'resolve')
+ parser_co.set_defaults(command = clone)
+
# commit stuff
parser_commit = subparsers.add_parser('commit',
help = 'Commit changes')