projects
/
mw
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8393cca
)
fix command that was preventing 'not a mw repo' check
author
Joseph Reagle
<joseph.2008@reagle.org>
Mon, 7 Feb 2011 16:10:27 +0000
(11:10 -0500)
committer
Joseph Reagle
<joseph.2008@reagle.org>
Mon, 7 Feb 2011 16:10:27 +0000
(11:10 -0500)
src/mw/clicommands.py
patch
|
blob
|
history
diff --git
a/src/mw/clicommands.py
b/src/mw/clicommands.py
index ff5625989153ad0df732acb6d8bf70fdf438406d..aec3f24be9edb845fe48a76f89b79d56ed96fb98 100644
(file)
--- a/
src/mw/clicommands.py
+++ b/
src/mw/clicommands.py
@@
-254,11
+254,12
@@
class DiffCommand(CommandBase):
class MergeCommand(CommandBase):
def __init__(self):
class MergeCommand(CommandBase):
def __init__(self):
- CommandBase.__init__(self, 'merge', 'merge local and wiki copies')
-
self.merge_tool = self.metadir.config.get('merge', 'tool'
)
+ usage = '[FILES]'
+
CommandBase.__init__(self, 'merge', 'merge local and wiki copies', usage
)
def _do_command(self):
self._die_if_no_init()
def _do_command(self):
self._die_if_no_init()
+ self.merge_tool = self.metadir.config.get('merge', 'tool')
status = self.metadir.working_dir_status()
for filename in status:
if status[filename] == 'M':
status = self.metadir.working_dir_status()
for filename in status:
if status[filename] == 'M':
Benjamin Mako Hill
||
Want to submit a patch?