[Pkg-bazaar-commits] ./bzr/unstable r109: more help for diff command
mbp at sourcefrog.net
mbp at sourcefrog.net
Fri Apr 10 07:44:14 UTC 2009
------------------------------------------------------------
revno: 109
committer: mbp at sourcefrog.net
timestamp: Mon 2005-03-28 12:32:30 +1000
message:
more help for diff command
modified:
bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py 2005-03-26 03:02:29 +0000
+++ b/bzrlib/commands.py 2005-03-28 02:32:30 +0000
@@ -244,20 +244,24 @@
def cmd_diff(revision=None):
- """Show diff from basis to working copy.
-
- :todo: Take one or two revision arguments, look up those trees,
- and diff them.
-
- :todo: Allow diff across branches.
-
- :todo: Mangle filenames in diff to be more relevant.
-
- :todo: Shouldn't be in the cmd function.
-
- TODO: Option to use external diff command; could be GNU diff,
- wdiff, or a graphical diff.
- """
+ """bzr diff: Show differences in working tree.
+
+usage: bzr diff [-r REV]
+
+--revision REV
+ Show changes since REV, rather than predecessor.
+
+TODO: Given two revision arguments, show the difference between them.
+
+TODO: Allow diff across branches.
+
+TODO: Option to use external diff command; could be GNU diff, wdiff,
+or a graphical diff.
+
+TODO: Diff selected files.
+"""
+
+ ## TODO: Shouldn't be in the cmd function.
b = Branch('.')
More information about the Pkg-bazaar-commits
mailing list