projects
/
mw
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Write basic diff command using bzrlib.diff
[mw]
/
src
/
mw
/
clicommands.py
diff --git
a/src/mw/clicommands.py
b/src/mw/clicommands.py
index 95d1fe804ceb571429759ce672b10c0c3e429353..8f951a60bed7f6f92c8926fc24c8ee9fa115da3e 100644
(file)
--- a/
src/mw/clicommands.py
+++ b/
src/mw/clicommands.py
@@
-138,3
+138,9
@@
class DiffCommand(CommandBase):
def _do_command(self):
self._die_if_no_init()
+ status = self.metadir.working_dir_status()
+ for file in status:
+ if status[file] == 'U':
+ print self.metadir.diff_rv_to_working(
+ mw.api.filename_to_pagename(file[:-5])
+ )
Benjamin Mako Hill
||
Want to submit a patch?