Show More
@@ -6,7 +6,7 b'' | |||
|
6 | 6 | '''share a common history between several working directories''' |
|
7 | 7 | |
|
8 | 8 | from mercurial.i18n import _ |
|
9 |
from mercurial import cmdutil, hg, |
|
|
9 | from mercurial import cmdutil, hg, util | |
|
10 | 10 | |
|
11 | 11 | cmdtable = {} |
|
12 | 12 | command = cmdutil.command(cmdtable) |
@@ -14,7 +14,8 b" testedwith = 'internal'" | |||
|
14 | 14 | |
|
15 | 15 | @command('share', |
|
16 | 16 | [('U', 'noupdate', None, _('do not create a working copy'))], |
|
17 |
_('[-U] SOURCE [DEST]') |
|
|
17 | _('[-U] SOURCE [DEST]'), | |
|
18 | norepo=True) | |
|
18 | 19 | def share(ui, source, dest=None, noupdate=False): |
|
19 | 20 | """create a new shared repository |
|
20 | 21 | |
@@ -66,5 +67,3 b' def unshare(ui, repo):' | |||
|
66 | 67 | |
|
67 | 68 | # update store, spath, sopener and sjoin of repo |
|
68 | 69 | repo.unfiltered().__init__(repo.baseui, repo.root) |
|
69 | ||
|
70 | commands.norepo += " share" |
General Comments 0
You need to be logged in to leave comments.
Login now