* PATCH: vcs_info: detected svn1.8 upgraded working copies
@ 2013-12-03 21:06 Daniel Shahaf
0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2013-12-03 21:06 UTC (permalink / raw)
To: zsh-workers
When upgrading a svn1.7 working copy to svn1.8, the .svn dir becomes:
% ls .svn
pristine tmp wc.db
It doesn't contain a file named "format", which causes vcs_info not to
detect it. Strictly speaking, that's an upstream bug (the .svn/format
file is required to make svn1.6 clients issue the right error message),
but since it's "out there", I suggest that vcs_info compensate for it:
[[[
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_detect_svn b/Functions/VCS_Inf
index 43dedcd..c2288e4 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_detect_svn
+++ b/Functions/VCS_Info/Backends/VCS_INFO_detect_svn
@@ -7,5 +7,5 @@ setopt localoptions NO_shwordsplit
[[ $1 == '--flavours' ]] && return 1
VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
-vcs_comm[detect_need_file]="entries format"
+vcs_comm[detect_need_file]="entries format wc.db"
VCS_INFO_bydir_detect '.svn' || return 1
]]]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-12-03 21:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-03 21:06 PATCH: vcs_info: detected svn1.8 upgraded working copies Daniel Shahaf
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).