comparison svncommand.py @ 244:28d0ee605308

Move diff to svncommands.
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 08 Apr 2009 18:21:47 +0200
parents 2027f851d60c
children 074f27c68818
comparison
equal deleted inserted replaced
243:2027f851d60c 244:28d0ee605308
6 from mercurial import node 6 from mercurial import node
7 7
8 import util 8 import util
9 from util import register_subcommand, svn_subcommands, generate_help, svn_commands_nourl 9 from util import register_subcommand, svn_subcommands, generate_help, svn_commands_nourl
10 # dirty trick to force demandimport to run my decorator anyway. 10 # dirty trick to force demandimport to run my decorator anyway.
11 from svncommands import pull 11 from svncommands import pull, diff
12 from utility_commands import print_wc_url 12 from utility_commands import print_wc_url
13 from diff_cmd import diff_command
14 from rebuildmeta import rebuildmeta 13 from rebuildmeta import rebuildmeta
15 # shut up, pyflakes, we must import those 14 # shut up, pyflakes, we must import those
16 __x = [print_wc_url, pull, diff_command, rebuildmeta] 15 __x = [print_wc_url, pull, diff, rebuildmeta]
17 16
18 17
19 def svncmd(ui, repo, subcommand, *args, **opts): 18 def svncmd(ui, repo, subcommand, *args, **opts):
20 if subcommand not in svn_subcommands: 19 if subcommand not in svn_subcommands:
21 candidates = [] 20 candidates = []