Maybe bug, pull reports -1 revisions pulled.

Robey Pointer robey at lag.net
Mon Mar 13 17:51:22 GMT 2006


On 12 Mar 2006, at 23:22, Aaron Bentley wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jan Hudec wrote:
>
> |>>-1 ? It seems to have worked, but that's some weird UI.
> |>
> |>Just happened again, I'm guessing it's something to do with -- 
> overwrite ?
> |
> |
> | Yes. If you pull from some branch and than pull --overwrite from  
> another
> | branch that has less changesets, than it reports (correctly,  
> though I
> | agree it looks confusing) negative number of revisions pulled.
>
> So there are at least three numbers here:
> 1. the revno offset; this is what's currently being reported.
> 2. the number of revisions pulled (0 or greater)
> 3. the number of mainline revisions pulled (0 or greater).
>
> We're reporting 1 and claiming it's 3.  I would prefer to report and
> claim 2, but we can do 3 instead, if people prefer.

I'd prefer to see something like

     Pulled 14 revision(s); now at revno 2439.

Would that bug anyone?  I know the revno is supposed to be  
meaningless but I tend to use it to track how up-to-date I am, or use  
it for build numbers, etc.

I agree that the "revisions" displayed should match the number shown  
in the progress bar.

robey





More information about the bazaar mailing list