Danek Duvall <danek.duvall at sun.com> writes:

> On Sat, Aug 09, 2008 at 03:11:55PM -0400, Richard Lowe wrote:
>
>> John Beck <jbeck at eng.sun.com> writes:
>> 
>> > DMarked asked me to let everyone know about this:
>> >
>> > 6735422 RFE: add template to cdm so that `hg outgoing -v` will list files 
>> > one-per-line
>> >
>> 
>> I sent a style to James (McP) and Mark that does this, though it has
>> certain issues.  It doesn't really belong in cdm, but should be a
>> separate file and set by hgsetup(1).
>
> Could you send that style out?  I made a comment on Vlad's blog showing
> what I did to get a style with newlines in the right places, without an
> extension.  I'm not sure why he made it as complicated as he did, but maybe
> there's something I'm missing.

Attached.  It's based, I *think* on the map-cmdline.default from
perhaps 0.9.3, I doubt it's 0.9.5 but it could be, it's certainly not
1.0, so, as I said to everybody else, don't blindly use it, diff it
against the current one
(/usr/lib/python2.4/vendor-packages/mercurial/templates/map-cmdline.default),
pay attention to what's changing and how, and generally be aware of
your surroundings, don't just blindly use it.

If I integrate this into onbld and have hgsetup use it, I will re-do
it based on 1.0, and with a little more thought.

I would suggest not thrusting it upon others until such a time as we
fix the above properly, don't do anything that is going to surprise
your advocate, especially.  most *ESPECIALLY* don't surprise your advocate
and then blame me ;)

The changes therein are:
  - Shows all of "description", not just the first line
  - Shows files one-per-line
  - Uses 'modified', 'added', 'deleted', 'copied', rather than file
    file+ file- etc, adds the word "from" in the parens in "copied"
    entries.
  - Adds spurious newlines in some cases, as per my initial mail.

-- Rich

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .hgstyle
URL: 
<http://mail.opensolaris.org/pipermail/scm-migration-dev/attachments/20080809/a77f3f51/attachment.ksh>

Reply via email to