The issue is that in cmd_push() we call urlutils.normalize_url() on the stacked_on location, and:
charis:~/src/bzr/bzr.dev% python
Python 2.7.1+ (r271:86832, Dec 29 2010, 18:33:35)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from bzrlib import urlutils
>>> urlutils.normalize_url("lp:bzr")
'lp:bzrlp:bzr'
The issue is that in cmd_push() we call urlutils. normalize_ url() on the stacked_on location, and:
charis: ~/src/bzr/ bzr.dev% python normalize_ url("lp:bzr")
Python 2.7.1+ (r271:86832, Dec 29 2010, 18:33:35)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from bzrlib import urlutils
>>> urlutils.
'lp:bzrlp:bzr'