Daniel Shahaf
55d5feed30
32621: vcs_info svn: 'Fix set-branch-format' when in subdirs
...
The previous code would fail to detect the wcroot with Subversion 1.7+
when cwd is at least two levels below the root (i.e., ../../.svn exists
and ../.svn doesn't), and would then pass to the hook the revision and
basename of cwd rather than of the wcroot.
2014-05-29 16:50:07 +02:00
Daniel Shahaf
bb271217fe
32619: vcs_info svn: Use the revision of cwd
...
Previously, the value of the wc root would be used. In Subversion,
it makes more sense to use the revision of cwd, since all commands
(e.g., 'svn ci', 'svnversion') operate only on cwd and below, not on
wcroot and below.
2014-05-29 16:50:07 +02:00
Daniel Shahaf
6a201af341
32597: vcs_info git: Describe detached heads symbolically.
...
This makes %b expand to a refname rather than a sha1 when HEAD is detached but
happens to match some ref (branch, tag, etc). The resulting output will
typically contain a slash (e.g., "tags/v1.0.2", "heads/mybranch"), which helps
distinguish it from the output in the "HEAD is a symbolic ref" case.
2014-05-06 14:22:10 +02:00
Daniel Shahaf
eb4c70d0b7
32528: vcs_info: Add check-for-staged-changes
2014-04-05 10:56:52 +02:00
Frank Terbeck
82a3591f57
32264: vcs_info, hg: Support detecting repos using ShareExtension
2014-01-17 08:58:52 +01:00
Daniel Shahaf
c1a15fb152
32089: tweak to detect Subversion repository
2013-12-05 20:06:34 +00:00
Barton E. Schaefer
9972fdeead
32066: fix %r and %S in vcs_info formats when a repository subdirectory is accessed via a symlink
...
31985 Clemens Hammacher and 32064 Hong Xu
2013-11-29 12:32:36 -08:00
Frank Terbeck
88599a0508
31485: vcs_info, git: Avoid error messages for `guilt' users
...
Guilt uses the same internal directory for keeping state as stgit, but
it doesn't use the same files (not surprisingly). This caused error
messages due to missing files.
This fixes that by making the "stgit-active?" test stricter.
Reported-by: Axel Beckert <abe@debian.org>
2013-06-18 09:16:59 +02:00
Mikael Magnusson
44907223ff
31136: vcs_info: just set parameters instead of passing over a pipe
2013-03-10 13:18:32 +00:00
Mikael Magnusson
0c8625299a
30639: Add support for showing the current action is cherry-pick to vcs_info git backend
2013-03-10 12:47:39 +00:00
Frank Terbeck
2e6363ed50
Baptiste Daroussin: 30703: VCS_INFO_detect_fossil: Fix fossil detection on unix
2012-09-28 22:11:32 +00:00
Frank Terbeck
feb6169bcd
Seth House: 30702: contrib.yo, VCS_INFO_get_data_hg: Removed --debug flag from the hg vcs_info backend
2012-09-28 22:07:29 +00:00
Frank Terbeck
3aae0ef8fe
Stepan Koltsov: vcs_info: %a to output number of all patches in (no)?patch-format styles
2012-08-17 08:22:52 +00:00
Frank Terbeck
c45bb3e70c
Juliano Ravasi: VCS_INFO_get_data_git: Fix initialisation of `$stgit_unapplied'
2012-05-23 07:39:48 +00:00
Mikael Magnusson
150dc9021b
30461, 30462 (tweaked): add missing local for match, mbegin and mend
2012-05-02 13:09:37 +00:00
Frank Terbeck
0d15215d86
30114: VCS_INFO_check_com: Remove a superfluous stat()
2012-01-19 16:57:40 +00:00
Frank Terbeck
ee03cac7fe
30046: VCS_INFO_get_data_svn: Fix support for subversion version 1.7
2011-12-30 13:32:51 +00:00
Frank Terbeck
6ed7fab103
Akinori MUSHA: 29900: Backends/VCS_INFO_detect_svn: Adjust detection to support subversion 1.7.
2011-11-09 17:49:25 +00:00
Frank Terbeck
f028b97e8f
29526: vcs_info: Set max-exports' early after certain
start-up' hooks.
2011-06-30 07:43:53 +00:00
Frank Terbeck
5e2a1cf4cc
Jan Pobrislo: 29411: vcs_info: Major bzr backend update.
2011-05-31 19:07:06 +00:00
Frank Terbeck
eb46727d3a
28959: Make the nvcsformats style be used if vcs_info is disabled.
2011-03-30 21:24:42 +00:00
Frank Terbeck
7c50fa1262
28961: Add `no-vcs' hook.
2011-03-30 21:19:17 +00:00
Frank Terbeck
abe0ee3936
28960: Add functions to add/remove static hooks.
2011-03-30 21:17:07 +00:00
Frank Terbeck
d7bcf2bb96
28958: Support registering hooks independent of the context.
2011-03-30 21:13:37 +00:00
Frank Terbeck
15779b019d
Add new vcs_info backend files to corresponding `.distfiles' file.
2011-03-30 20:11:17 +00:00
Frank Terbeck
ae6fb299f3
Mike Meyer: 28956, 28957: Add fossil support to vcs_info.
2011-03-30 20:07:05 +00:00
Frank Terbeck
3c020a9a9c
28776: Let vcs_info detect very old mercurial repositories.
2011-02-19 11:54:41 +00:00
Frank Terbeck
f5b07d4868
Lennart Weller: 28739: Fix svn detection in vcs_info
2011-02-11 07:05:09 +00:00
Frank Terbeck
01b4a67310
Seth House: 28114: vcs_info, git: Fix revision lookup with packed repositories.
2010-08-02 21:11:08 +00:00
Frank Terbeck
bb95aef24f
28095: Fix two hard-coded invocations of the "git" command.
2010-07-19 20:05:22 +00:00
Frank Terbeck
9b2334cf55
28093, based on Michel Lespinasse: 28090: Fix a problem with `check-for-changes' and freshly initialised repositories.
2010-07-19 19:20:27 +00:00
Frank Terbeck
17b7471fbc
Seth House: 27971: vcs_info: Fix a bug that caused the mercurial backend to always return `default' as the branch name.
2010-05-27 10:06:16 +00:00
Frank Terbeck
88ea63adf2
Simon Ruderich: 27953: vcs_info: changed default formats and actionformats.
2010-05-14 07:58:37 +00:00
Frank Terbeck
0501efc54a
Seth House, Simon Ruderich and myself: 27948: various vcs_info changes
...
Here's a diff-stat:
Doc/Zsh/contrib.yo | 506 ++++++++++++++-------
Functions/VCS_Info/.distfiles | 1 +
Functions/VCS_Info/Backends/VCS_INFO_detect_hg | 14 +-
Functions/VCS_Info/Backends/VCS_INFO_get_data_git | 35 +-
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg | 295 +++++++++----
Functions/VCS_Info/VCS_INFO_formats | 26 +-
Functions/VCS_Info/VCS_INFO_hook | 10 +-
Functions/VCS_Info/VCS_INFO_quilt | 190 ++++++++
Functions/VCS_Info/vcs_info | 30 +-
Misc/.distfiles | 1 +
Misc/vcs_info-examples | 496 ++++++++++++++++++++
11 files changed, 1303 insertions(+), 301 deletions(-)
The major changes are vast improvements for the mercurial (hg) backend
(which was done almost entirely by Seth); improved documentation (mostly
done by Simon and again Seth); quilt support (as an addon and stand
alone, see the manual for details); a number of new hooks and a fair
share of bugfixes.
2010-05-10 10:46:48 +00:00
Frank Terbeck
4277121662
27908: Functions/VCS_Info/vcs_info: Avoid locale related problems
2010-04-26 18:58:33 +00:00
Frank Terbeck
ff22b24f1b
Simon Ruderich: 27779: Fix mistakes in vcs_info's documentation.
2010-03-11 12:39:38 +00:00
Peter Stephenson
de3159d73a
Frank: 27768: shut up cd some more
2010-03-04 10:03:00 +00:00
Peter Stephenson
8a0629c12b
27731: Frank: turn off WARN_CREATE_GLOBAL in VCS_INFO
2010-02-21 18:41:41 +00:00
Peter Stephenson
1c7075f8b9
Frank: 27717: option terminators in VCS Info
2010-02-17 11:16:13 +00:00
Peter Stephenson
4523ff9383
Frank Terbeck, Seth House: 27712, 22713, 27714:
...
VCS Info hooks and Mercurial improvements
2010-02-16 10:47:06 +00:00
Peter Stephenson
94777f64e8
Frank Terbeck, Seth House: 27712, 22713, 27714:
...
VCS Info hooks and Mercurial improvements
2010-02-16 10:09:15 +00:00
Peter Stephenson
f8e05427db
Frank: 27679: better logic in VCS_INFO_get_data_git
2010-02-07 18:50:54 +00:00
Peter Stephenson
d6c4e4c692
Frank Terbeck: 27353: more VCS_Info sanity checks
2009-11-06 14:35:33 +00:00
Peter Stephenson
179cd828a5
Lionel Flandrin: 27307: enhanced Mecurial VCS_INFO support
2009-10-04 18:18:12 +00:00
Peter Stephenson
6f78cb51ef
Frank Terbeck: users/14207: make variable local
2009-06-26 19:25:08 +00:00
Peter Stephenson
a5417250d5
Frank Terbeck: 27049, 27050, 27051, 27052: VCS_INFO improvements
2009-06-19 21:05:48 +00:00
Peter Stephenson
f359213eec
26982: Julien Langer: support stgit in VCS_Info
2009-05-22 17:38:05 +00:00
Peter Stephenson
46fd8beec7
c.f. 26867: remove extraneous "${"
2009-04-22 08:31:53 +00:00
Peter Stephenson
8dd8067f13
Frank Terbeck: 26816 to 26820: VCS_Info updates
2009-04-06 19:19:08 +00:00
Peter Stephenson
672923e282
Frank Terbeck: 26751: suppress WARN_CREATE_GLOBAL warning
2009-03-18 09:47:54 +00:00