[PING][MERGE] help topics
Martin Pool
mbp at canonical.com
Thu Nov 9 08:36:42 GMT 2006
On 7 Nov 2006, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> > class RevisionSpec_revno(RevisionSpec):
> > + """Selects a revision using a number.
> > +
> > + Use an integer to specify a revision in the history of the branch.
> > + Optionally a branch can be specified. The 'revno:' prefix is optional.
> > + A negative number will count from the end of the branch (-1 is the
> > + last revision, -2 the previous one). If the negative number is larger
> > + than the branch's history, the first revision is returned.
> > + examples:
>
> Aren't we getting away from putting user-facing text in docstrings?
> IIRC, Martin said doing that for BzrNewError was a mistake.
We are for exceptions at least. We could do it for Commands too, but
that's not done yet and I don't think it should block this.
--
Martin
More information about the bazaar
mailing list