Mercurial > hg
comparison hgext/hbisect.py @ 5715:d280774a7498
bisect: remove versionstr
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 27 Dec 2007 23:55:39 -0600 |
parents | 9d50b2450ac3 |
children | 18fdfafdb3e9 |
comparison
equal
deleted
inserted
replaced
5714:9d50b2450ac3 | 5715:d280774a7498 |
---|---|
7 # of the GNU General Public License, incorporated herein by reference. | 7 # of the GNU General Public License, incorporated herein by reference. |
8 | 8 |
9 from mercurial.i18n import _ | 9 from mercurial.i18n import _ |
10 from mercurial import hg, util, commands, cmdutil | 10 from mercurial import hg, util, commands, cmdutil |
11 import os, sys, sets | 11 import os, sys, sets |
12 | |
13 versionstr = "0.0.3" | |
14 | 12 |
15 def check_clean(ui, repo): | 13 def check_clean(ui, repo): |
16 merged = (nullid in repo.dirstate.parents()) | 14 merged = (nullid in repo.dirstate.parents()) |
17 modified, added, removed, deleted, unknown = repo.status()[:5] | 15 modified, added, removed, deleted, unknown = repo.status()[:5] |
18 if modified or added or removed or merged: | 16 if modified or added or removed or merged: |