Proposed bookmarks plan posted to wiki

Matt Mackall mpm at selenic.com
Wed Jun 13 14:28:18 CDT 2012


On Wed, 2012-06-13 at 12:42 -0500, Kevin Bullock wrote:
> On Jun 11, 2012, at 5:37 PM, Matt Mackall wrote:
> 
> > On Fri, 2012-06-08 at 14:42 -0500, Kevin Bullock wrote:
> > 
> > > * Warn (with hint) when pushing changesets that are bookmarked
> > > without pushing the bookmarks (suggested by [[marmoute]]:
> > > http://markmail.org/message/pxemyessq6ek7ynw).
> > 
> > I don't think a warning is sufficient. Given our non-existent
> > support
> > for unpushing, this warning will usually translate as "you idiot,
> > you
> > just pushed the code you were trying to keep local".
> > 
> > Sometimes our "no new heads" restriction will prevent this class of
> > accident, but I think we should aim to do it more generally.
> > 
> 
> 
> If it's more than a warning, then I can't keep a local-only bookmark
> on public changesets.

Sure you can, they just can't be heads. If they're on heads, you'll need
to bypass the check.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list