Download subdirectory from remote repository

anatoly techtonik techtonik at gmail.com
Fri Dec 7 00:08:22 UTC 2012


On Wed, Dec 5, 2012 at 3:18 AM, Matt Mackall <mpm at selenic.com> wrote:

> On Wed, 2012-12-05 at 01:49 +0300, anatoly techtonik wrote:
> >
> > And it is not necessary about archives of subdirectories. Just
> > download of a raw file without compression is also a viable need.
>
> You can do that today.


It is not possible to do in a generic way:
Bitbucket:  https://bitbucket.org/techtonik/python-wget/raw/tip/setup.py
Google:      http://pyglet.googlecode.com/hg-history/tip/setup.py
HgWeb:     http://selenic.com/repo/hg/raw-file/tip/setup.py

HgWeb forces file download (which is inconvenient IMHO) while other
hostings allow to view in browser.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121207/cebaa68e/attachment-0002.html>


More information about the Mercurial mailing list