Mercurial > public > mercurial-scm > hg
diff hgext/convert/hg.py @ 16686:67964cda8701
cleanup: "not x in y" -> "x not in y"
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:00:57 +0200 |
parents | 525fdb738975 |
children | e34106fa0dc3 |
line wrap: on
line diff
--- a/hgext/convert/hg.py Sat May 12 16:00:53 2012 +0200 +++ b/hgext/convert/hg.py Sat May 12 16:00:57 2012 +0200 @@ -224,7 +224,7 @@ bookmarks.write(self.repo) def hascommit(self, rev): - if not rev in self.repo and self.clonebranches: + if rev not in self.repo and self.clonebranches: raise util.Abort(_('revision %s not found in destination ' 'repository (lookups with clonebranches=true ' 'are not implemented)') % rev)