[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ack! trying to run svn mkdir opens vim or something

From: Bryan Donlan <bdonlan_at_gmail.com>
Date: 2004-09-28 01:21:38 CEST

On Tue, 28 Sep 2004 08:40:40 +1000, Peter Williams <peterw@aurema.com> wrote:
> Toby Johnson wrote:
> > Josh Howe wrote:
> >
> >> Hi again,
> >>
> >> I'm not just new to subversion, I'm also new to linux. I' trying to
> >> run svn mkdir to create a tags directory. When I run "svn mkdir
> >> file:///var/repository/proj1/tags </var/repository/proj1/tags>" from a
> >> shell it opens up some crazy vim program with some commit.tmp file
> >> open or something. What is going on? Thanks.
> >>
> > And by the way, if you're going to be using Linux much, you'd better get
> > used to "that crazy vim program". :)
> >
>
> vim (thank goodness) isn't the only editor available on Linux :-)
>
> But to answer the first question. svn has popped up an editor so that
> you can supply the comment/note that goes with the operation you are
> performing. There is a way of telling svn which editor to use. Just
> look in the documentation to find out how.

Use the EDITOR environment variable, e.g (bash syntax)
export EDITOR=nano
svn mkdir foo

Or specify it on the command line:
svn mkdir -m 'Log entry' foo

Or load in a prewritten log:
svn mkdir -F commit-log.txt foo

-- 
bd
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 28 01:22:24 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.