Using bzr with LaTeX

t u towsonu2003 at gmail.com
Thu Dec 14 23:34:19 GMT 2006


Ramon Diaz-Uriarte wrote:
>> b) bzr makes collaboration
>> very simple; it is as simple as saying "I worked on the paper last
>> night; grab my latest changes from the repository"; c) being bzr
>> distributed I can, say, edit and work while commuting, keeping all the
>> history in my laptop, and then sync with my coauthors' changes when I
>> get to work.

Hi,

Thanks for the suggestions so far (and if you have any more, pls keep
them coming :) they are great)

The collaboration seemed interesting. Of course, not knowing anyone who
uses linux + latex + bzr in non-virtual world (eh), collaboration with
others is kinda hard.

But it still seems doable. For example, I give a copy of my paper to my
advisor, who makes corretions. It seems like I can than copy my bzr'd
source to another directory, make the advisor's changes to the source,
than merge the two if there are no conflicts.

>From the documentation[1], the commands look something like this:
$ cd /path/to/mysource
$ cd ../      # sorry for the redundancy
$ bzr branch mysource advisorchanges
do the changes
$ cd mysource
$ bzr diff -r branch:../advisorchanges
$ bzr merge ../advisorchanges/

Does this look about right?

Also, do you use launchpad as your repository to sync your laptop and
other computers?

And 2 last questions:
* how do you revert to an earlier revision (that is, you commited your
50th revision, and now you want to revert to your 5th revision)?
* can you revert that (ie do above, than go back from your 5th revision
to your 50th revision etc)?

Thanks again :)

[1] http://bazaar-vcs.org/TheIndependant
-- 
Please scan all attachments for viruses.
Or (though you might like Rodin) you might as well avoid "The Gates of
Hell" and use Linux.




More information about the bazaar mailing list