From f9f68ba72b101179aa1f0ce4eead27a20f5c672e Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Mon, 23 Jan 2012 23:35:01 -0600 Subject: [PATCH] Remove HEAD-specific short-circuiting --- svn2svn/svnclient.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/svn2svn/svnclient.py b/svn2svn/svnclient.py index 3d872af..95f0e8c 100644 --- a/svn2svn/svnclient.py +++ b/svn2svn/svnclient.py @@ -191,10 +191,9 @@ def run_svn_log(svn_url_or_wc, rev_start, rev_end, limit, stop_on_copy=False, ge if get_revprops: args += ['--with-all-revprops'] url = str(svn_url_or_wc) - if rev_start != 'HEAD' and rev_end != 'HEAD': - args += ['-r', '%s:%s' % (rev_start, rev_end)] - if not "@" in svn_url_or_wc: - url = "%s@%s" % (svn_url_or_wc, str(max(rev_start, rev_end))) + args += ['-r', '%s:%s' % (rev_start, rev_end)] + if not "@" in svn_url_or_wc: + url = "%s@%s" % (svn_url_or_wc, str(max(rev_start, rev_end))) args += ['--limit', str(limit), url] xml_string = run_svn(svn_log_args + args) return parse_svn_log_xml(xml_string) -- 2.45.2