changeset 552:f20c079c17a7

`final_url` needs to be defined if there's no subpath
author dfraser
date Mon, 06 Apr 2009 10:20:20 +0000
parents 6b4def531a4e
children 98151eb9f1a5
files bitten/build/svntools.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/build/svntools.py
+++ b/bitten/build/svntools.py
@@ -84,6 +84,8 @@
         args += ['-r', revision]
     if path:
         final_url = posixpath.join(url, path.lstrip('/'))
+    else:
+        final_url = url
     args += [final_url, dir_]
 
     cofilter = None
Copyright (C) 2012-2017 Edgewall Software