diff svncommand.py @ 100:91ce18fa0375

Add a diff command that behaves kind of like svn diff.
author Augie Fackler <durin42@gmail.com>
date Fri, 21 Nov 2008 16:15:23 -0600
parents b5651f53e7ae
children ed42f6e5705a
line wrap: on
line diff
--- a/svncommand.py
+++ b/svncommand.py
@@ -16,8 +16,9 @@ from util import register_subcommand, sv
 from utility_commands import print_wc_url
 from fetch_command import fetch_revisions
 from push_cmd import commit_from_rev
+from diff_cmd import diff_command
 # shut up, pyflakes, we must import those
-__x = [print_wc_url, fetch_revisions, commit_from_rev, ]
+__x = [print_wc_url, fetch_revisions, commit_from_rev, diff_command]
 
 mode755 = (stat.S_IXUSR | stat.S_IXGRP| stat.S_IXOTH | stat.S_IRUSR |
            stat.S_IRGRP| stat.S_IROTH | stat.S_IWUSR)
@@ -74,7 +75,7 @@ def help_command(ui, args=None, **opts):
             doc = "No documentation available for %s." % subcommand
         ui.status(doc.strip(), '\n')
         return
-    ui.status('Valid commands: ', ' '.join(sorted(svn_subcommands.keys())), 
+    ui.status('Valid commands: ', ' '.join(sorted(svn_subcommands.keys())),
               '\n')
 
 @register_subcommand('gentags')