Mercurial > hgsubversion
comparison svncommand.py @ 242:06130689a2c8
Move push into svncommands.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 08 Apr 2009 17:53:48 +0200 |
parents | 4950b18cf949 |
children | 2027f851d60c |
comparison
equal
deleted
inserted
replaced
241:4950b18cf949 | 242:06130689a2c8 |
---|---|
10 import util | 10 import util |
11 from util import register_subcommand, svn_subcommands, generate_help, svn_commands_nourl | 11 from util import register_subcommand, svn_subcommands, generate_help, svn_commands_nourl |
12 # dirty trick to force demandimport to run my decorator anyway. | 12 # dirty trick to force demandimport to run my decorator anyway. |
13 from svncommands import pull | 13 from svncommands import pull |
14 from utility_commands import print_wc_url | 14 from utility_commands import print_wc_url |
15 from push_cmd import commit_from_rev | |
16 from diff_cmd import diff_command | 15 from diff_cmd import diff_command |
17 from rebuildmeta import rebuildmeta | 16 from rebuildmeta import rebuildmeta |
18 # shut up, pyflakes, we must import those | 17 # shut up, pyflakes, we must import those |
19 __x = [print_wc_url, pull, commit_from_rev, diff_command, rebuildmeta] | 18 __x = [print_wc_url, pull, diff_command, rebuildmeta] |
20 | 19 |
21 | 20 |
22 def svncmd(ui, repo, subcommand, *args, **opts): | 21 def svncmd(ui, repo, subcommand, *args, **opts): |
23 if subcommand not in svn_subcommands: | 22 if subcommand not in svn_subcommands: |
24 candidates = [] | 23 candidates = [] |