[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Request for suggestions: multiple revision control systems
From: |
Matt Lundin |
Subject: |
[Orgmode] Re: Request for suggestions: multiple revision control systems/repositories + org |
Date: |
Mon, 20 Dec 2010 11:35:59 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Robert Goldman <address@hidden> writes:
> I am looking for hints. I have a number of org files, typically one for
> each major project plus two or three for my personal life.
>
> These must often live in different revision control systems: my work
> projects, in particular, have different repositories; I have a main set
> of org files for work in ~/org/, tracked by my employers' svn;
> occasionally, I do something outside, like work on a paper with someone
> outside my company in a dedicated git repo; and I'd like to stuff my
> personal materials off in a git repo of my own.
>
> I have been pulling all of these together into my ~/org directory, using
> symbolic links, for the benefit of mobile org. That is, my ~/org
> directory has my main work org files, plus links to a bunch of others.
>
> That works well for syncing with mobile org. Unfortunately, it's a mess
> for Emacs's version control mode. VC mode sees the .svn directory in
> that place, and can handle the local files, but gets horribly confused
> by the sym-linked files.
In my experience, VC mode has a lot of issues with symlinks. I solved
these with the following:
(setq find-file-visit-truename t)
> Extra credit if you have a way of creating the same set of symlinks on
> more than one machine! ;-)
I use relative symlinks. Then I simply ensure that all repositories have
the same directory structure relative to ~/ on each machine.
Best,
Matt