[PATCH] routing: remove dysfunctional route to pullrequest copy_update
Thomas De Schampheleire
patrickdepinguin at gmail.com
Wed Jun 17 07:24:39 EDT 2015
# HG changeset patch
# User Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
# Date 1434540240 -7200
# Wed Jun 17 13:24:00 2015 +0200
# Node ID 65b5afb58a7b32b57c711c0ee3dc0fe949d5ec56
# Parent 5fb4e6f884cec710b34736756d4eadaa53dd51d0
routing: remove dysfunctional route to pullrequest copy_update
Commit d42d7b2a3b2fec0cbf8380a22f4dd96fc836f5c5 refactored the pullrequest
update functionality, making the route 'pullrequest_copy_update' redundant,
but forgot to remove that route.
diff --git a/kallithea/config/routing.py b/kallithea/config/routing.py
--- a/kallithea/config/routing.py
+++ b/kallithea/config/routing.py
@@ -699,11 +699,6 @@ def make_map(config):
action='create', conditions=dict(function=check_repo,
method=["POST"]))
- rmap.connect('pullrequest_copy_update',
- '/{repo_name:.*?}/pull-request-update/{pull_request_id}', controller='pullrequests',
- action='copy_update', conditions=dict(function=check_repo,
- method=["POST"]))
-
rmap.connect('pullrequest_show',
'/{repo_name:.*?}/pull-request/{pull_request_id:\\d+}{extra:(/.*)?}', extra='',
controller='pullrequests',
More information about the kallithea-general
mailing list