Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: vcs_info: detected svn1.8 upgraded working copies
- X-seq: zsh-workers 32089
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: vcs_info: detected svn1.8 upgraded working copies
- Date: Tue, 3 Dec 2013 23:06:15 +0200
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:subject:message-id :mime-version:content-type; s=mesmtp; bh=xxPzuvRiGmsuRvshYoLRn7F 4v3s=; b=DXQ0Zt/Y1x9adIJ0HPAfvIcDYk1MtbEpg8QJ5n3HQjBJvvj7GWe25OG 1nywYhRBDDPQR8ooW7SIqEzr3Qd0/IX+b2awo4N8brQ4xsRWcUn/XIBWhlsIdztA vS3Nfe8oBlZH2ubK60Q5qBuV99cbWrOQn6/weimTIHjWjhdyjHaM=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :mime-version:content-type; s=smtpout; bh=xxPzuvRiGmsuRvshYoLRn7 F4v3s=; b=L3T5F73fIrgLSiXe64lwRsBHYaY+xy1J6yVlyxB8aFIho/iJJ5eVu1 VDPDP82UR4M93+GilVg28gu39lPMF2KacdjKD0W2FXqMkdzvLC0Z85cM1iG4Ndvp JLHeMOkqEzW/C8ienvpvlYtobXFskSiTrgW3ImDur6+kA4xZBPfeM=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
]]]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author