[RFC] hgweb: ease download of binary files
Christian Ebert
blacktrash at gmx.net
Wed Apr 9 10:44:07 CDT 2008
Hi Ted,
* Ted Pavlic on Wednesday, April 09, 2008 at 09:54:42 -0400
>> I'd like to share a LaTeX project that contains not only the
>> source files, but the pdf files as well. atm, when you navigate
>> to a pdf file, and if it recognized as binary (issue1079), you
>> have to go back, and then download the linked file using your
>> browser interface, if you want to inspect the pdf file.
>
> FYI, I'm working on a LaTeX project now with several other authors who
> are not that computer savvy and are new to revision control entirely. In
> this project, they send their patches to me over e-mail, and I manage
> the central web repository myself. That gives us a little more security
> that merges are going go to over well.
>
> In our project, we've added the PDFs to the hgignore so they're not
> managed by the revision control at all. Because the TeX (and the
> figures) are managed, there's no need to keep that extra bulk around. It
> saves a lot of space, and I think it's a more logical way to manage files.
>
> However, periodically, an author might want to view the PDF on-line. In
> that case, I periodically build an updated document and put it on-line.
> I symlink it so that they can get to it from
>
> http://server/hg/repo/document.pdf
>
> It doesn't show up on the repo manifest, of course, but it's linked from
> our group wiki.
Actually I do this in a similar way. Only, as this a longterm
project, I want to conserve interim pdf files as well.
I agree that this is not a must, but it would be nice for
"outsiders" to browse the text history and grab the result from
within the mercurial interface.
c
--
Wer auf sein Elend tritt, steht höher.
_HÖLDERLIN: H Y P E R I O N_ <http://www.blacktrash.org/hyperion/>
More information about the Mercurial
mailing list