a "patch tree" instead of a patch queue?

Andrei Vermel avermel at mail.ru
Wed May 28 18:08:18 UTC 2008


> I'm a mathematician, and I have a paper that I'm working on. The paper
> is a LaTeX file, along with a number of other miscellaneous files (a
> BibTeX file, XFig figures, etc.) I have several things that I do with
> the paper, primarily: (1) submit it to a journal, and (2) put it on the
> arXiv (the preprint server at arxiv.org). 
> 
> What I'd like is a way of maintaining two changesets for those two
> things, both based on a "base" version of the paper. A Mercurial queue
> is not the right thing for this, because I want to maintain two
> different, mutually incompatible changesets to the same files.

Wouldn't it be easier to make sure that both documents get built from the
same source, rather maintain the two patches? E.g. dotted lines vs. green
lines can be done with a TeX macro. The rest is probably not too hard as
well. 




More information about the Mercurial mailing list