tests: push_command: use svnserve.kill() in Python >=2.6

#9 Declined
Repository
ArneBab
Branch
default
Repository
durin42
Branch
default
Author
  1. Arne Babenhauserheide
Reviewers
Description

I’m looking into adding svn branch creation right now and stumbled over this small TODO in the tests, so I thought I’d just finish that.

The first thing to understand were the tests, because adding support for branch creation seems much easier than doing the testing: Just svn ls …/branches/branch_name and on error create all missing path segments except the last with svn mkdir and then svn cp ../current_branch to the ../branches/new_branch. If the new_branch contains slashes, just create every intermediary dir with mkdir.

Best wishes,
Arne

Comments (1)