unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: William Case <billlinux@rogers.com>
To: Patrick Drechsler <patrick@pdrechsler.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs + subversion + newbie = trouble ??
Date: Wed, 21 Mar 2007 12:57:48 -0400	[thread overview]
Message-ID: <1174496268.3033.44.camel@CASE> (raw)
In-Reply-To: <878xdq5zv5.fsf@pdrechsler.de>

Thanks Patrick:

That's all I needed.  I see were it is going and what I have to do.
If something doesn't work for me, at least I have an idea of where to
look.

I sincerely appreciate the time you took to answer my question.  Sorry
for the top posting but there wasn't a "thank you" reference point in
the text of the message. 

On Wed, 2007-03-21 at 17:24 +0100, Patrick Drechsler wrote:
> William Case <billlinux@rogers.com> writes:
> 
> > I want to use emacs as my text editor with subversion.  How do I set it
> > up and get started?  What has to be in my ~/.emacs, what mode am I
> > looking for?
> >
> > I think I have done my due diligence with subversion tutorials,
> > emacswiki, emacs info, man etc. yet I find myself sitting here looking
> > at a blank emacs frame, scratching my head and saying to myself "What
> > button do I push first?".
> >
> > So, please, someone help me at the most basic level get started using
> > subversion + emacs .
> 
> I normally do the initial import and first checkout from the command
> line. Here is a short instruction (just replace all ssh stuff with
> file:// if your server and client are on the same machine):
> 
> ,----
> | *** Setting up a SVN repository and importing files:
> | 
> |      Example of putting my "texmf-local" tree under svn (replace the term
> |      "texmf-local" with your directory of choice):
> | 
> |      1. Create a SVN repository: i.e. on server (=golem):
> |      	:cd /media/data1/mysvn_reps
> | 	:mkdir texmf_local
> | 	:cd texmf_local
> | 	:svnadmin create /media/data1/mysvn_reps/texmf_local
> | 	Now the following directories and files will be created:
> | 	:conf  dav  db  format  hooks  locks  README.txt
> |      2. Make a copy of original:
> |      	:cd /usr/local/texlive
> | 	:cp -rf texmf-local texmf-local.original
> |      3. Delete original:
> |      	:rm -rf texmf-local
> |      4. Create svn directories (on client):
> |      	:mkdir -p texmf-local/branches
> | 	:mkdir -p texmf-local/tags
> | 	:mkdir -p texmf-local/trunk
> |      5. Copy original to trunk:
> |      	:cp -rf texmf-local.original/* texmf-local/trunk/
> |      6. Import your repository from client (=trurl) to server (=golem); this
> |         might take a while:
> |      	:cd texmf-local
> | 	:svn import /usr/local/texlive/texmf-local svn+ssh://patrick@golem/media/data1/mysvn_reps/texmf-local -m "initial import"
> |      7. Remove the original:
> |      	:cd ..
> | 	:rm -rf texmf-local
> |      8. Checkout the complete repository type: 
> |      	:svn checkout svn+ssh://patrick@golem/media/data1/mysvn_reps/texmf-local/trunk texmf-local
> `----
> 
> 
> Once you have a working copy and open a file with emacs you'll see a
> SVN version number in emacs modeline.
> 
> ,----
> | Emacs interface to svn (VC-mode):
> | 
> |     - `C-x v v': take appropriate action (ie update)
> |     - `C-x v d': open dired buffer in VC-mode
> `----
> 
> You'll find further usefull info in the Emacs help. Entering: 
> 
> C-h i d m Emacs RET m Version TAB RET
> 
> brings you here:
> 
> (info "(emacs)Version Control")
> 
> HTH
> 
> Patrick
-- 
Regards Bill

  reply	other threads:[~2007-03-21 16:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1206.1174492465.7795.help-gnu-emacs@gnu.org>
2007-03-21 16:24 ` emacs + subversion + newbie = trouble ?? Patrick Drechsler
2007-03-21 16:57   ` William Case [this message]
2007-03-21 18:30   ` Petter Gustad
2007-03-21 15:51 William Case

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1174496268.3033.44.camel@CASE \
    --to=billlinux@rogers.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=patrick@pdrechsler.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).