9 from repo import RepoError, NoCapability |
9 from repo import RepoError, NoCapability |
10 from i18n import _, gettext |
10 from i18n import _, gettext |
11 import os, re, sys |
11 import os, re, sys |
12 import hg, util, revlog, bundlerepo, extensions, copies, context |
12 import hg, util, revlog, bundlerepo, extensions, copies, context |
13 import difflib, patch, time, help, mdiff, tempfile, url |
13 import difflib, patch, time, help, mdiff, tempfile, url |
14 import version |
|
15 import archival, changegroup, cmdutil, hgweb.server, sshserver, hbisect |
14 import archival, changegroup, cmdutil, hgweb.server, sshserver, hbisect |
16 import merge as merge_ |
15 import merge as merge_ |
17 |
16 |
18 # Commands start here, listed alphabetically |
17 # Commands start here, listed alphabetically |
19 |
18 |
2959 return hg.verify(repo) |
2958 return hg.verify(repo) |
2960 |
2959 |
2961 def version_(ui): |
2960 def version_(ui): |
2962 """output version and copyright information""" |
2961 """output version and copyright information""" |
2963 ui.write(_("Mercurial Distributed SCM (version %s)\n") |
2962 ui.write(_("Mercurial Distributed SCM (version %s)\n") |
2964 % version.get_version()) |
2963 % util.version()) |
2965 ui.status(_( |
2964 ui.status(_( |
2966 "\nCopyright (C) 2005-2008 Matt Mackall <mpm@selenic.com> and others\n" |
2965 "\nCopyright (C) 2005-2008 Matt Mackall <mpm@selenic.com> and others\n" |
2967 "This is free software; see the source for copying conditions. " |
2966 "This is free software; see the source for copying conditions. " |
2968 "There is NO\nwarranty; " |
2967 "There is NO\nwarranty; " |
2969 "not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" |
2968 "not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" |