Changeset ba9eda97f313…
Parent 10de07ca5161…
by
Changes to one file · Browse files at ba9eda97f313 Showing diff from parent 10de07ca5161 Diff from another changeset...
@@ -265,6 +265,9 @@ path, bundle = s
cmdoptions['bundle'] = os.path.abspath(bundle)
path = ui.expandpath(path)
+ if not os.path.exists(path) or not os.path.isdir(path+'/.hg'):
+ print 'abort: %s is not a repository' % path
+ return 1
os.chdir(path)
if options['fork']:
cmdoptions['fork'] = True
|
Loading...