Subject: svn-bisect can't investigate closed branches
Package: subversion-tools
Version: 1.6.11dfsg-1
Severity: normal
Tags: sid

svn-bisect doesn't use PEG revision specificator while issuing svn switch
command. Thus it is impossible to use it against branches that are already
closed.

I propose to include an exact revision specificators where appropriate.



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages subversion-tools depends on:
ii  subversion                  1.6.11dfsg-1 Advanced version control system

Versions of packages subversion-tools recommends:
ii exim4 4.71-4 metapackage to ease Exim MTA (v4) ii exim4-daemon-light [mail-tr 4.71-4 lightweight Exim MTA (v4) daemon ii libconfig-inifiles-perl 2.52-1 Read .ini-style configuration file
ii  libsvn-perl                 1.6.11dfsg-1 Perl bindings for Subversion
ii liburi-perl 1.54-1 module to manipulate and access UR
ii  python-subversion           1.6.11dfsg-1 Python bindings for Subversion
ii rsync 3.0.7-2 fast remote file copy program (lik
ii  xsltproc                    1.1.26-3     XSLT command line processor

Versions of packages subversion-tools suggests:
pn  libsvn-ruby1.8                <none>     (no description available)

-- no debconf information

*** /tmp/svn-bisect.diff
--- /usr/bin/svn-bisect.orig    2010-04-20 13:57:31.000000000 +0700
+++ /usr/bin/svn-bisect 2010-05-20 10:44:33.575998629 +0700
@@ -55,7 +55,7 @@ do_reset ()
     fi
     url=$(cat $dir/url)
     rev=$(cat $dir/start)
-    svn switch -r$rev $url
+    svn switch -r$rev $...@$rev
     rm -fr $dir
     echo "Now at r$rev in $url"
 }
@@ -128,7 +128,7 @@ do_good_bad ()
     esac
     target=$(head -n $(((n+1)/2)) $dir/revs | tail -n1)
     echo "Switching to r$target ..."
-    svn switch -r$target "$url"
+    svn switch -r$target "$...@$target"
     url2=$(svn_info URL)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to