On Sat, Aug 28, 2010 at 11:07 PM, Fred Krogh wrote:
> I'm new to subversion or in fact to any version control system and
> evidently have some error in my mind set when reading documents and
> trying to get subversion to work. I'm using a gentoo linux system and
> believe I have everything necessary installed. I started with the command
>
> svnadmin create /m/svn/repos
>
> Call that step 1. Then for step 2 I did
>
> svn import d1func.f90 file:///m/svn/repos/quadrature
>
> and that brings up emacs (my usual editor) with a file called
> svn-commit.tmp, which I type something in, and then close it. That
> didn't seem to get anything into the repository. I want to have a
> project called quadrature and I suspect I'm missing something between
> step 1 and step 2.
Hi Fred,
Was there a message complaining that svn-commit.tmp was not modified ?
Subversion uses svn-commit.tmp int the following way:
1. It writes the skeleton
2. It calls the editor (defined by the environment, commandline, or
configured when svn was built)
3. It waits for the editor to exit
4. It examines svn-commit.tmp
If the editor is the actual emacs executable, this works correctly.
However, if your editor is a
pass-this-filename-to-the-running-instance-and-exit helper, Subversion
reads the file before emacs had a chance to change it. I've seen this
happen with nedit, when EDITOR=nedit-client.
Hope this helps,
Csaba
--
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
Received on 2010-08-30 09:45:28 CEST