[rfc] push/pull operation between branch5 and branch6

John Arbash Meinel john at arbash-meinel.com
Thu May 3 20:03:34 BST 2007


Alexander Belchenko wrote:
> Currently push/pull operations between different format branches
> are raised error:
> 
> C:\work\MyCode\intelhex\0.8>bzr pull C:\work\MyCode\intelhex\0.8-tags\
> bzr: ERROR: Tags not supported by BzrBranch5(u'file:///C:/work/MyCode/intelhex/0.8/'); you may be
> able to use bzr up
> grade --dirstate-tags.
> 
> C:\work\MyCode\intelhex\0.8-tags>bzr push C:\work\MyCode\intelhex\0.8\
> bzr: ERROR: Tags not supported by BzrBranch5(u'file:///C:/work/MyCode/intelhex/0.8/'); you may be
> able to use bzr up
> grade --dirstate-tags.
> 
> 
> But actually copying of tags occurs after copying of revision data.
> So branch will end in semi-consistent state.
> 
> may be it reasonable to switch this error off? Or probably just emit warnings
> that sme info not moved between branches. Because main info (about revisions)
> anyway could be transferred. Am I miss some important thing?
> 
> [µ]

Does it actually update the branch tip? Or just the repository. (I
wouldn't be surprised if it moves the branch).

I think it would be reasonable to downgrade this to a warning.
(Branch5('/local/path') does not support tags, if you want to copy the
tags from http://foo/bar, please run 'bzr upgrade --dirstate-tags' first)

Since people can get tags after the fact, without causing data
inconsistencies.

John
=:->



More information about the bazaar mailing list