Show More
@@ -1076,6 +1076,7 b' def init(ui, repo, **opts):' | |||||
1076 | return 0 |
|
1076 | return 0 | |
1077 |
|
1077 | |||
1078 | def commit(ui, repo, *pats, **opts): |
|
1078 | def commit(ui, repo, *pats, **opts): | |
|
1079 | """commit changes in the queue repository""" | |||
1079 | q = repomap[repo] |
|
1080 | q = repomap[repo] | |
1080 | r = q.qrepo() |
|
1081 | r = q.qrepo() | |
1081 | if not r: raise util.Abort('no queue repository') |
|
1082 | if not r: raise util.Abort('no queue repository') | |
@@ -1257,7 +1258,7 b' cmdtable = {' | |||||
1257 | 'hg qimport [-e] [-n NAME] [-f] FILE...'), |
|
1258 | 'hg qimport [-e] [-n NAME] [-f] FILE...'), | |
1258 | "^qinit": |
|
1259 | "^qinit": | |
1259 | (init, |
|
1260 | (init, | |
1260 |
[('c', 'create-repo', None, 'create |
|
1261 | [('c', 'create-repo', None, 'create queue repository')], | |
1261 | 'hg qinit [-c]'), |
|
1262 | 'hg qinit [-c]'), | |
1262 | "qnew": |
|
1263 | "qnew": | |
1263 | (new, |
|
1264 | (new, |
General Comments 0
You need to be logged in to leave comments.
Login now