[rfc] Re: Possible solution for reading bundles from stdin

Wouter van Heyst larstiq at larstiq.dyndns.org
Sat Feb 17 22:47:57 GMT 2007


On Thu, Feb 15, 2007 at 05:02:23PM +0000, Daniel Silverstone wrote:
> On Wed, 2007-02-14 at 09:27 +0000, Daniel Silverstone wrote:
> > Is there an appropriately generic place for me to put a mapping from "-"
> > to pipe:///stdin ?
> 
> Barring any other suggestions, I altered urlutils.normalize_url to
> notice "-" and transform it to "pipe:///stdio" which isn't ideal but
> will probably work for now.
> 
> I also changed it from stdin to stdio since that way output makes sense
> in the future if wanted.

Which might help with bzr export --format=dir - | nc host 1234

Wouter van Heyst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070217/b4b45fb8/attachment-0001.pgp 


More information about the bazaar mailing list