zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Clarify check-for-changes with mercurial
@ 2011-05-07  6:49 Frank Terbeck
  2011-05-07 16:57 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Terbeck @ 2011-05-07  6:49 UTC (permalink / raw)
  To: zsh-workers; +Cc: Seth House

---
 Doc/Zsh/contrib.yo |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 476e7ca..dc62a29 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -826,6 +826,10 @@ these escapes can be controlled via the var(stagedstr) and var(unstagedstr)
 styles. The only backends that currently support this option are tt(git) and
 tt(hg) (tt(hg) only supports unstaged).
 
+For this style to be evaluated with the tt(hg) backend, the var(get-revision)
+needs to be set and the var(use-simple) style needs to be unset. The latter
+is the default; the former is not.
+
 Note, the actions taken if this style is enabled are potentially expensive
 (read: they may be slow, depending on how big the current repository is).
 Therefore, it is disabled by default.
-- 
1.7.5


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: Clarify check-for-changes with mercurial
  2011-05-07  6:49 PATCH: Clarify check-for-changes with mercurial Frank Terbeck
@ 2011-05-07 16:57 ` Bart Schaefer
  2011-05-07 17:09   ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2011-05-07 16:57 UTC (permalink / raw)
  To: zsh-workers

On May 7,  8:49am, Frank Terbeck wrote:
} Subject: PATCH: Clarify check-for-changes with mercurial
}
} +For this style to be evaluated with the tt(hg) backend, the var(get-revision)
} +needs to be set and the var(use-simple) style needs to be unset. The latter
} +is the default; the former is not.

Minor remarks:

"the get-revision needs to be set" is missing a word ("style"?).

Don't use var(xxx) for literal strings.  var(xxx) is for, well,
variables -- not in the shell parameter sense, but in the sense of
something that will be replaced rather than typed literally.  When
yodl'd into "info" format, var(xxx) gets rendered into all-caps XXX
(possibly depending on what info viewer is used).  The convention in
zsh doc is to use `tt(get-revision)' (with or without the single-
quotes depending on context) for literals.

-- 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: Clarify check-for-changes with mercurial
  2011-05-07 16:57 ` Bart Schaefer
@ 2011-05-07 17:09   ` Bart Schaefer
  2011-05-07 17:12     ` Frank Terbeck
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2011-05-07 17:09 UTC (permalink / raw)
  To: zsh-workers

On May 7,  9:57am, Bart Schaefer wrote:
}
} yodl'd into "info" format, var(xxx) gets rendered into all-caps XXX
} (possibly depending on what info viewer is used).

As an example of this, when I view the vcs_info documentation I see
this kind of thing:

****

26.4.2 Configuration
--------------------

The VCS_INFO feature can be configured via ZSTYLE.

****

I'm pretty sure those weren't intended to be capitalized.

-- 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH: Clarify check-for-changes with mercurial
  2011-05-07 17:09   ` Bart Schaefer
@ 2011-05-07 17:12     ` Frank Terbeck
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Terbeck @ 2011-05-07 17:12 UTC (permalink / raw)
  To: zsh-workers

Bart Schaefer wrote:
> On May 7,  9:57am, Bart Schaefer wrote:
> } yodl'd into "info" format, var(xxx) gets rendered into all-caps XXX
> } (possibly depending on what info viewer is used).
>
> As an example of this, when I view the vcs_info documentation I see
> this kind of thing:
>
> ****
>
> 26.4.2 Configuration
> --------------------
>
> The VCS_INFO feature can be configured via ZSTYLE.
>
> ****
>
> I'm pretty sure those weren't intended to be capitalized.

Huh. True. I didn't know that.

The vcs_info documentation is full of that. :-/

Regards, Frank


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-07 17:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-07  6:49 PATCH: Clarify check-for-changes with mercurial Frank Terbeck
2011-05-07 16:57 ` Bart Schaefer
2011-05-07 17:09   ` Bart Schaefer
2011-05-07 17:12     ` Frank Terbeck

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).