Mercurial > hg
comparison hgext/share.py @ 9075:03c2462724ac
share: wrapped docstrings at 78 characters
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 07 Jul 2009 23:54:42 +0200 |
parents | ef440eab290f |
children | 4b8b0c124b99 |
comparison
equal
deleted
inserted
replaced
9074:b4f259c1667a | 9075:03c2462724ac |
---|---|
9 from mercurial import hg, commands | 9 from mercurial import hg, commands |
10 | 10 |
11 def share(ui, source, dest=None, noupdate=False): | 11 def share(ui, source, dest=None, noupdate=False): |
12 """create a new shared repository (experimental) | 12 """create a new shared repository (experimental) |
13 | 13 |
14 Initialize a new repository and working directory that shares its | 14 Initialize a new repository and working directory that shares its history |
15 history with another repository. | 15 with another repository. |
16 | 16 |
17 NOTE: actions that change history such as rollback or moving the | 17 NOTE: actions that change history such as rollback or moving the source |
18 source may confuse sharers. | 18 may confuse sharers. |
19 """ | 19 """ |
20 | 20 |
21 return hg.share(ui, source, dest, not noupdate) | 21 return hg.share(ui, source, dest, not noupdate) |
22 | 22 |
23 cmdtable = { | 23 cmdtable = { |