Comment 2 for bug 254936

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

One other use case I encounter is when I'm using both launchpad and my own bzr server... Sometimes I develop locally and push a mirror to launchpad; other times I develop using launchpad and keep a backup on my server. But, in either case, it would be nice to be able to do something like...

  bzr commit
  bzr push # local server
  bzr push lp

Instead, assuming I have "lp-myproject" bookmarks for each project, that last line becomes:

  bzr push bm:lp-myproject

If this was the project's main branch, I could just do 'bzr push lp:myproject' instead, so this makes the bookmark actually longer than the location it's bookmarking.

I also found per-repo bookmarks useful for an old mercurial-based project. The work flow there was something like:

  # get updates
  hg pull official-repo
  hg pull fred
  hg pull mary
  # review and merge
  hg merge
  # publish
  hg push my-public-repo
  hg push backup
  hg push official-repo # sometimes

Maybe this is unusual, but it's the sort of approach which could benefit from per-repo bookmarks.