about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_subversion2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3636b8e65..9d308258a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2022-01-29  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 49712: Completion/Unix/Command/_subversion: svn rm: Complete
+	all svn-controlled files, not only missing/deleted files
+
 	* 49711: Completion/Unix/Command/_subversion: _svn_status:
 	Don't offer unversioned files
 
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 2f66c3522..9ef3077f6 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -146,7 +146,7 @@ _svn () {
           ;;
           (delete)
             args+=(
-              '*:file:_files -g ".svn(/e:_svn_deletedfiles:)"'
+              '*:file:_files -g "*(e:_svn_controlled:)"'
             )
           ;;
           (diff)