17
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
19
"""Bazaar-NG -- a free distributed version-control tool
21
22
**WARNING: THIS IS AN UNSTABLE DEVELOPMENT VERSION**
23
Current limitation include:
25
24
* Metadata format is not stable yet -- you may need to
26
25
discard history in the future.
28
* Insufficient error handling.
30
27
* Many commands unimplemented or partially implemented.
32
29
* Space-inefficient storage.
34
31
* No merge operators yet.
36
Interesting commands::
41
Show software version/licence/non-warranty.
38
Show software version/licence/non-warranty.
43
Start versioning the current directory
40
Start versioning the current directory
47
Show revision history.
44
Show revision history.
49
Show changes from last revision to working copy.
46
Show changes from last revision to working copy.
50
47
bzr commit -m 'MESSAGE'
51
Store current state as new revision.
48
Store current state as new revision.
52
49
bzr export REVNO DESTINATION
53
Export the branch state at a previous version.
50
Export the branch state at a previous version.
55
Show summary of pending changes.
52
Show summary of pending changes.
57
Make a file not versioned.
54
Make a file not versioned.
59
Show statistics about this branch.
56
Show statistics about this branch.
58
Verify history is stored safely.
59
(for more type 'bzr help commands')
731
733
def cmd_help(topic=None):
732
734
if topic == None:
736
# otherwise, maybe the name of a command?
737
topic, cmdfn = get_cmd_handler(topic)
741
bailout("sorry, no detailed help yet for %r" % topic)
736
elif topic == 'commands':
739
# otherwise, maybe the name of a command?
740
topic, cmdfn = get_cmd_handler(topic)
744
bailout("sorry, no detailed help yet for %r" % topic)
750
"""List all commands"""
752
for k in globals().keys():
753
if k.startswith('cmd_'):
754
accu.append(k[4:].replace('_','-'))
756
print "bzr commands: "
759
print "note: some of these commands are internal-use or obsolete"
760
# TODO: Some kind of marker for internal-use commands?
761
# TODO: Show aliases?