about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-08-03 10:19:20 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-08-03 10:19:20 +0000
commit07f11ba6bf609797f42c1ac768184b359a4e6ad7 (patch)
tree0005e93a38aa9fae381009ca807066658b676b0e
parent3d215fd53ed47cbec57283509b2b3c36165303dd (diff)
downloadzsh-07f11ba6bf609797f42c1ac768184b359a4e6ad7.tar.gz
zsh-07f11ba6bf609797f42c1ac768184b359a4e6ad7.tar.xz
zsh-07f11ba6bf609797f42c1ac768184b359a4e6ad7.zip
unposted: improve svn import from users/10570
-rw-r--r--ChangeLog9
-rw-r--r--Completion/Unix/Command/_subversion2
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e2bb5db1..5776e62d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,16 @@
+2006-08-03  Peter Stephenson  <pws@csr.com>
+
+	* unposted: Completion/Unix/Command/_subversion: import
+	directory is optional, so complete URLs also on first argument.
+
 2006-08-02  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 22579: Completion/Unix/Command/_perldoc,
 	Completion/Unix/Type/_perl_modules: find .pod files in perl
 	include path for documentation.
 
-	* 10570: Completion/Unix/Command/_subversion: handle "svn import"
-	better.
+	* users/10570: Completion/Unix/Command/_subversion: handle "svn
+	import" better.
 
 2006-08-02  Peter Stephenson  <pws@csr.com>
 
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 867c2bcf2..461eb0770 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -61,7 +61,7 @@ _svn () {
 	  ;;
 	  (import)
 	    args+=(
-		'1:project directory:_files -/'
+		'1:project directory or import location: _alternative "files:file:_files" "urls:URL:_svn_urls"'
 		'2:import location: _alternative "files:file:_files" "urls:URL:_svn_urls"'
 	    )
           ;;