changeset 251 | a60d11973ff3 |
parent 249 | bd0917068cc7 |
child 289 | 9bb4217ddfce |
--- a/hgext/qsync.py Fri May 25 19:51:32 2012 +0200 +++ b/hgext/qsync.py Wed May 30 14:17:33 2012 +0200 @@ -58,6 +58,9 @@ if opts['review_all']: review = 'all' mqrepo = repo.mq.qrepo() + if mqrepo is None: + raise util.Abort('No patches repository') + try: parent = mqrepo[BRANCHNAME] except error.RepoLookupError: