[RFC] Re: short and long log messages
Wouter van Heyst
larstiq at larstiq.dyndns.org
Thu May 18 17:48:51 BST 2006
On Thu, May 18, 2006 at 11:12:14AM -0500, John Arbash Meinel wrote:
> Alexander Belchenko wrote:
> > Matthieu Moy пишет:
> >> To make it easier for users to type everything on a command line
> >> (multi-line shell commands are possible, but rarely comfortable), I can
> >> see two solutions :
> >>
> >> * Add another option, like Arch did (-m "foo" --body "bar")
> >>
> >> * Allow \n in the message for a line break, like echo does.
> >>
> >> The second one will probably please C programmers and old unix users,
> >> but the first is more explicit to people not having this culture.
> >
> > I think support both is will be very good. I understand explicitness of
> > first variant, but personally I'm prefer to use second.
> >
> > --
> > Alexander
>
> Well, in bash, doing this works:
>
> bzr commit -m "Summary line<CR>
> more text
> and still more
> and a little bit more
> "
>
> Bash holds the command request open until the " is closed. (It works for
> both " and ')
>
> However, I don't know how to spawn a bzr command like
> :!bzr commit -m "stuff for commit"
> in vim which would wrap lines.
^V is a great help for these cases, I also use it for python code that
uses tabs for some reason, conflicting with my expandtab settings.
Wouter van Heyst
More information about the bazaar
mailing list