revision-history considered harmful
Robert Collins
robertc at robertcollins.net
Fri Dec 23 04:32:03 GMT 2005
There was a discussion late at UBZ about removing revision-history as it
appears to be somewhat harmful..
We've had a number of users use the property of pull to traverse any
link result in revnos vastly different than what they considered
'upstream'.
The revision-history file is somewhat special - its not reconstructable,
which makes it precious, its only identified by a URL, which makes URL's
important (where all our other data is not sensitive to things moving
around).
Martin and I sketched an approach where commits record the revno they
had at the time of commit, which combined with the branch nickname means
that doing a 'switch' of the revision-history when you 'pull' would be
understandable to users: you would *always* end up with the revno of the
branch you pulled from.
We thought we could trial this by simply making the revision-history
replacement function of '--overwrite' always be on, without disabling
the divergence check. If that satisfied people, we can nuke
revision-history-the-file.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051223/43f29bac/attachment.pgp
More information about the bazaar
mailing list