<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zsh/Functions/VCS_Info/VCS_INFO_quilt, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/zsh/atom/Functions/VCS_Info/VCS_INFO_quilt?h=master</id>
<link rel='self' href='http://git.sudomsg.com/mirror/zsh/atom/Functions/VCS_Info/VCS_INFO_quilt?h=master'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/'/>
<updated>2022-02-20T10:16:33Z</updated>
<entry>
<title>49727 (+ comment): vcs_info quilt: Pass the patches dir path to the gen-applied-string, gen-unapplied-string, and set-patch-format hooks</title>
<updated>2022-02-20T10:16:33Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2022-01-29T16:15:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=80389df48067bab3711ad1604bc9554d08fb9994'/>
<id>urn:sha1:80389df48067bab3711ad1604bc9554d08fb9994</id>
<content type='text'>
I use that in my gen-applied-string hook.
</content>
</entry>
<entry>
<title>49723: vcs_info quilt: Use quilt-patch-dir and ${QUILT_PATCHES} even when get-unapplied hasn't been set</title>
<updated>2022-01-29T11:04:44Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2022-01-27T17:58:14Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=ee5e3d0c9d07ce3297959b89f96238dbff9b6400'/>
<id>urn:sha1:ee5e3d0c9d07ce3297959b89f96238dbff9b6400</id>
<content type='text'>
This affects the post-quilt hook.  Before this patch, if no patches have
been applied and get-unapplied hasn't been set, the second argument to
that hook would undergo null elision.

The generation of patch subjects for the gen-applied-string,
gen-unapplied-string, and set-patch-format hooks was unaffected since
it was guarded by [[ -n $patches ]].
</content>
</entry>
<entry>
<title>49722: vcs_info quilt: Refactor for readability. No functional change.</title>
<updated>2022-01-29T11:04:43Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2022-01-27T17:58:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=e52062170a41dd2ba5a03aef22af0545cbc1d58c'/>
<id>urn:sha1:e52062170a41dd2ba5a03aef22af0545cbc1d58c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unposted: vcs_info quilt: Remove a no-op variable assignment</title>
<updated>2022-01-27T17:34:57Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2022-01-27T16:41:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=b99599b4f48325e104704eb8f077b81e938f50c7'/>
<id>urn:sha1:b99599b4f48325e104704eb8f077b81e938f50c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>45543: vcs_info quilt: Allow quiltcommand to be a function.</title>
<updated>2020-03-15T00:18:27Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>danielsh@apache.org</email>
</author>
<published>2020-03-12T18:15:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=5a1f5cf8ab32e598d06c024620468657c137d5c3'/>
<id>urn:sha1:5a1f5cf8ab32e598d06c024620468657c137d5c3</id>
<content type='text'>
Before this commit, it could only be an external command.
</content>
</entry>
<entry>
<title>44958: vcs_info quilt: Avoid forks</title>
<updated>2019-11-29T20:57:01Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2019-11-29T20:52:00Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=98f8a8a980872f5d8f2a2a277e50a504d74a3f37'/>
<id>urn:sha1:98f8a8a980872f5d8f2a2a277e50a504d74a3f37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>43618: vcs_info: Don't redefine helper functions on every execution of the autoloadable outer function.</title>
<updated>2018-10-08T13:41:41Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2018-10-07T17:46:40Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=a05533e425ebb36044680f403666dab7bc26a075'/>
<id>urn:sha1:a05533e425ebb36044680f403666dab7bc26a075</id>
<content type='text'>
This allows enabling tracing of the helper functions without fned'ing
the outer function.
</content>
</entry>
<entry>
<title>40480: vcs_info set-patch-format: Eliminate the remaining code duplication.</title>
<updated>2017-02-03T18:14:01Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-02-01T19:05:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=33c0a104482a0299d5d065b88c180ea6975269c0'/>
<id>urn:sha1:33c0a104482a0299d5d065b88c180ea6975269c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>40479: vcs_info set-patch-format: Prepare for more code sharing between the callers.</title>
<updated>2017-02-03T18:14:00Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-02-01T19:05:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=9211d7f2777abaedfacf98812104d579c3b861f3'/>
<id>urn:sha1:9211d7f2777abaedfacf98812104d579c3b861f3</id>
<content type='text'>
This changes hook invocation order in the hg backend.
</content>
</entry>
<entry>
<title>40476: vcs_info $backend_misc: Document at the right point, provide in quilt 'standalone' mode.</title>
<updated>2017-02-03T18:13:57Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-02-01T17:36:54Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=49bc46946e93e55fd74c8b5a7109e49e41820725'/>
<id>urn:sha1:49bc46946e93e55fd74c8b5a7109e49e41820725</id>
<content type='text'>
</content>
</entry>
<entry>
<title>40403/0004: vcs_info set-patch-format helper: Part #4.</title>
<updated>2017-01-25T04:22:32Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-01-23T18:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=2854a67e09748a2e6f4e1d8a73bc463bad4cbd4e'/>
<id>urn:sha1:2854a67e09748a2e6f4e1d8a73bc463bad4cbd4e</id>
<content type='text'>
This also fixes the %a (${hook_com[all-n]}) expando in the hg backend:
before this change, it counted only unapplied changes.
</content>
</entry>
<entry>
<title>40403/0003: vcs_info set-patch-format helper: Part #3.</title>
<updated>2017-01-25T04:22:32Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-01-23T18:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=edd9798de765049a904e0afa830b191d1932087d'/>
<id>urn:sha1:edd9798de765049a904e0afa830b191d1932087d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>40403/0002: vcs_info set-patch-format helper: Part #2.</title>
<updated>2017-01-25T04:22:31Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-01-23T18:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=270285733442a46cd157ade4600e4073e255a563'/>
<id>urn:sha1:270285733442a46cd157ade4600e4073e255a563</id>
<content type='text'>
Not all callers reset ${hook_com}, but those that don't, immediately
overwrite it a few lines later.
</content>
</entry>
<entry>
<title>40403/0001: vcs_info set-patch-format helper: Part #1.</title>
<updated>2017-01-25T04:22:30Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-01-23T18:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=0ea1957608a6b496fc244078ce9e24f00327aba9'/>
<id>urn:sha1:0ea1957608a6b496fc244078ce9e24f00327aba9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unposted: vcs_info: Break out VCS_INFO_quilt-patch2subject into VCS_INFO_patch2subject</title>
<updated>2016-12-01T17:13:37Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2016-12-01T17:11:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=8891f5a33d2617b7c7bb4f37c4340a1dd159529e'/>
<id>urn:sha1:8891f5a33d2617b7c7bb4f37c4340a1dd159529e</id>
<content type='text'>
... so other places can use it; compare 40030 in the 39990 thread.
</content>
</entry>
<entry>
<title>39046 + 39061: New :P history modifier.</title>
<updated>2016-08-22T03:34:30Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2016-07-30T16:16:22Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=7154052ebe3d810390164a05c39ff83f98a1d858'/>
<id>urn:sha1:7154052ebe3d810390164a05c39ff83f98a1d858</id>
<content type='text'>
</content>
</entry>
<entry>
<title>38610: vcs_info quilt: Extract a patch subject, 2.0.</title>
<updated>2016-06-06T08:10:12Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2016-06-04T16:57:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=7a5ecf4909bb73550012c4b580f054a29a255380'/>
<id>urn:sha1:7a5ecf4909bb73550012c4b580f054a29a255380</id>
<content type='text'>
</content>
</entry>
<entry>
<title>38609: vcs_info quilt: Factor out a helper function. No functional change.</title>
<updated>2016-06-06T08:10:11Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2016-06-04T16:57:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=e8943e7007d27143d17cf66acf659e92fcea1fe9'/>
<id>urn:sha1:e8943e7007d27143d17cf66acf659e92fcea1fe9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>36913 + 36945: vcs_info quilt: Pass patch subject lines to gen-applied-string</title>
<updated>2015-10-24T20:42:26Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2015-10-21T05:11:59Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=779b3112f85d01d297ab04e6c1b68a0b33d76a55'/>
<id>urn:sha1:779b3112f85d01d297ab04e6c1b68a0b33d76a55</id>
<content type='text'>
The format used is '${patchname} ${subject}', which is analogous to the git backend.
</content>
</entry>
<entry>
<title>36912: vcs_info quilt: Tolerate being in child of .pc's parent</title>
<updated>2015-10-24T20:26:41Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2015-10-22T12:30:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=c62db9e7dc2f59337aec1df55663383c524886cb'/>
<id>urn:sha1:c62db9e7dc2f59337aec1df55663383c524886cb</id>
<content type='text'>
Without this, gen-applied-string would only be set when .pc is a child of cwd,
not when it is a child of an ancestor of cwd.
</content>
</entry>
<entry>
<title>36077: vcs_info: stop exporting everything</title>
<updated>2015-08-12T02:31:22Z</updated>
<author>
<name>Mikael Magnusson</name>
<email>mikachu@gmail.com</email>
</author>
<published>2015-08-09T21:53:24Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=c5abf2bcff289363207e0faae8fd33413f59231f'/>
<id>urn:sha1:c5abf2bcff289363207e0faae8fd33413f59231f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PATCH: 34333: vcs_info quilt: fix unapplied detection in subdir</title>
<updated>2015-01-21T23:15:20Z</updated>
<author>
<name>Marc Finet</name>
<email>m.dreadlock@gmail.com</email>
</author>
<published>2015-01-20T21:55:07Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=9ea817acdafc2f9c0377bb30d7931916bcd8bc6a'/>
<id>urn:sha1:9ea817acdafc2f9c0377bb30d7931916bcd8bc6a</id>
<content type='text'>
When patches are applied, let quilt use .pc without forcing the
patch directory, this will fix the unapplied detection when being in
subdir.
When no patches are applied, use zstyle quilt-patch-dir then
QUILT_PATCHES then "patches" for path to search for patches.

Note: prefer setting quilt-patch-dir rather than QUILT_PATCHES for
absolute path because when patches are applied, quilt unapplied will
not return the correct list (i.e. the whole list rather that the one
specified by .pc/.quilt_series).
</content>
</entry>
<entry>
<title>33148: vcs_info quilt: refactor standalone detection</title>
<updated>2014-09-14T10:02:36Z</updated>
<author>
<name>Marc Finet</name>
<email>m.dreadlock@gmail.com</email>
</author>
<published>2014-09-12T21:30:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=06e03e72345f06ca38e331099f6290a4e0e07891'/>
<id>urn:sha1:06e03e72345f06ca38e331099f6290a4e0e07891</id>
<content type='text'>
Since VCS_INFO_bydir_detect always uses the
vcs_comm[detect_need_file], it should be cleared when querying
it without file.
</content>
</entry>
<entry>
<title>Stepan Koltsov: vcs_info: %a to output number of all patches in (no)?patch-format styles</title>
<updated>2012-08-17T08:22:52Z</updated>
<author>
<name>Frank Terbeck</name>
<email>bewater@users.sourceforge.net</email>
</author>
<published>2012-08-17T08:22:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=3aae0ef8fecd69c983e6452a6b4f9c641cac9ab1'/>
<id>urn:sha1:3aae0ef8fecd69c983e6452a6b4f9c641cac9ab1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Seth House, Simon Ruderich and myself: 27948: various vcs_info changes</title>
<updated>2010-05-10T10:46:48Z</updated>
<author>
<name>Frank Terbeck</name>
<email>bewater@users.sourceforge.net</email>
</author>
<published>2010-05-10T10:46:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=0501efc54af2d194f952c2968a7aeeb5bac8fdf4'/>
<id>urn:sha1:0501efc54af2d194f952c2968a7aeeb5bac8fdf4</id>
<content type='text'>
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.
</content>
</entry>
</feed>
