diff options
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -28,7 +28,7 @@ if __name__ == '__main__': | |||
28 | del magic | 28 | del magic |
29 | 29 | ||
30 | # increment this whenever we make important changes to this script | 30 | # increment this whenever we make important changes to this script |
31 | VERSION = (1, 10) | 31 | VERSION = (1, 11) |
32 | 32 | ||
33 | # increment this if the MAINTAINER_KEYS block is modified | 33 | # increment this if the MAINTAINER_KEYS block is modified |
34 | KEYRING_VERSION = (1,0) | 34 | KEYRING_VERSION = (1,0) |
@@ -121,6 +121,10 @@ group.add_option('--mirror', | |||
121 | group.add_option('--reference', | 121 | group.add_option('--reference', |
122 | dest='reference', | 122 | dest='reference', |
123 | help='location of mirror directory', metavar='DIR') | 123 | help='location of mirror directory', metavar='DIR') |
124 | group.add_option('--depth', type='int', default=None, | ||
125 | dest='depth', | ||
126 | help='create a shallow clone with given depth; see git clone') | ||
127 | |||
124 | 128 | ||
125 | # Tool | 129 | # Tool |
126 | group = init_optparse.add_option_group('repo Version options') | 130 | group = init_optparse.add_option_group('repo Version options') |
@@ -596,4 +600,3 @@ def main(orig_args): | |||
596 | 600 | ||
597 | if __name__ == '__main__': | 601 | if __name__ == '__main__': |
598 | main(sys.argv[1:]) | 602 | main(sys.argv[1:]) |
599 | |||