[PATCH 2 of 2] Add a filename for the bundle

Alexis S. L. Carvalho alexis at cecm.usp.br
Mon Mar 26 21:47:48 CDT 2007


Thus spake John Goerzen:
> On Mon, Mar 26, 2007 at 08:48:44PM -0500, Matt Mackall wrote:
> > >          datapart.set_payload(bundle)
> > > +        datapart.add_header('Content-Disposition', 'attachment',
> > > +                filename='hgbundle.bin')
> > 
> > The canonical extension for a bundle is ".hg". So perhaps we should
> > use bundle.hg here.
> 
> That would make sense.  Where is this documented?  (It doesn't appear to
> be documented in hg bundle --help, at least)
> 
> Would people prefer if I resend a patch for this trivial change?

Nah - I've fixed this manually and pushed to crew.

Thanks

Alexis


More information about the Mercurial-devel mailing list