octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: '@' bookmark


From: Rik
Subject: Re: '@' bookmark
Date: Tue, 20 Mar 2018 08:41:56 -0700

On 03/19/2018 08:58 PM, address@hidden wrote:
Subject:
Mercurial repository '@' bookmark
From:
Mike Miller <address@hidden>
Date:
03/19/2018 03:35 PM
To:
address@hidden
List-Post:
<mailto:address@hidden>
Precedence:
list
MIME-Version:
1.0
Message-ID:
<address@hidden>
Content-Type:
multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3"
Message:
1

All, probably Jordi in particular,

The '@' bookmark on the default branch lags behind the actual tip of the
default branch very frequently in our repository.

For example, at the moment, '@' points to 2f6698dd7dad, but the latest
change on the default branch is ecb5688b875f, 28 changesets later.

Is there any way we can help developers who are pushing changesets on
the default branch to ensure that the '@' bookmark is advanced properly?

All of my workflows and continuous build scripts depend on the '@'
bookmark being up to date.

Separately, but relatedly, can someone tell me whether this is a
Mercurial bug or not?

    $ hg phase
    25345: public
    $ hg id
    2f6698dd7dad tip @
    $ hg pull -u -q
    $ hg id
    ecb5688b875f tip @
    $ hg log -r @ -T '{node|short}\n'
    ecb5688b875f
    $ hg book -d @
    $ hg pull -u -q
    $ hg log -r @ -T '{node|short}\n'
    2f6698dd7dad

In short, when the '@' bookmark is active and I pull and update, the '@'
bookmark is advanced, and it no longer agrees with what the server says
the '@' bookmark is. If I delete '@' and pull again, I get a different
answer. Seems wrong.

I updated the '@' bookmark to point to the tip on default.  It does occasionally happen when merging in a lot of changes that the '@' bookmark gets confused.  To restore it, I manually moved the bookmark (I was sitting on the tip of the development branch at the time) with

hg book -r . @
moving bookmark '@' forward from 2f6698dd7dad
hg update @
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
(activating bookmark @)
hg push
pushing to ssh://address@hidden/octave
no changes made to subrepo gnulib since last push to http://hg.octave.org/gnulib
searching for changes
no changes found
updating bookmark @
hg book
 * @                         24931:ecb5688b875f
   bessel                    23282:68720b4477e4
   betainc                   23282:68720b4477e4
   expint                    23282:68720b4477e4
   gammainc                  23282:68720b4477e4
   gsocspecfun2017           23282:68720b4477e4
   specfun2017               23282:68720b4477e4

--Rik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]