all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: William Case <billlinux@rogers.com>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: VC commands - a little ambiguous to me ??
Date: Thu, 17 May 2007 20:01:41 -0400	[thread overview]
Message-ID: <1179446501.3152.143.camel@CASE> (raw)
In-Reply-To: <871whfjkco.fsf@baldur.tsdh.de>

Thank you Tassilo;

But ...
On Thu, 2007-05-17 at 21:55 +0200, Tassilo Horn wrote:
> William Case <billlinux@rogers.com> writes:
> 
> Hi William,
> 
> > Now I want to do the equivalent of:
> > svn add (a new directory and sub-directrory)
> > svn add (a file)
> 
> ,----[ C-h f vc-register RET ]
> | vc-register is an interactive compiled Lisp function in `vc.el'.
> | It is bound to C-x v i, <menu-bar> <tools> <vc> <vc-register>.
> | (vc-register &optional SET-VERSION COMMENT)
> | 
> | Register the current file into a version control system.  With prefix
> | argument SET-VERSION, allow user to specify initial version level.  If
> | COMMENT is present, use that as an initial comment.
> | 
> | The version control system to use is found by cycling through the list
> | `vc-handled-backends'.  The first backend in that list which declares
> | itself responsible for the file (usually because other files in that
> | directory are already registered under that backend) will be used to
> | register the file.  If no backend declares itself responsible, the
> | first backend that could register the file is used.
> `----
> 
I want to create and add a new empty directory.  When I M-x
make-directory 'ProgramOlympics' and run vc-rename-file, I get
"svn: 'ProgramOlympics' is not a working copy
svn: Can't open file 'ProgramOlympics/.svn/entries': No such file or
directory"

I have also tried to make-directory through C-x v d .. v t, that doesn't
help either.

Alternatively, I can not figure out how to add a new empty directory to
the working copy.  I get the warning "'ProgramOlympics' is a directory;
use file name";(paraphrase).  I need two; an empty directory and
sub-directory added. The empty directory will have some existing svn/VC
files moved to it.  The sub-directory will have some files moved to it
as well, but in the indefinite near future.
 
> 
> > svn move (a different file)
> 
> ,----[ C-h f vc-rename-file RET ]
> | vc-rename-file is an interactive compiled Lisp function in `vc.el'.
> | It is bound to <menu-bar> <tools> <vc> <vc-rename-file>.
> | (vc-rename-file OLD NEW)
> | 
> | Rename file OLD to NEW, and rename its master file likewise.
> `----

I can get the job done using svn in a terminal (or on the command line I
suppose), but I had hoped to do it all without leaving VC emacs.
-- 
Regards Bill

  reply	other threads:[~2007-05-18  0:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.783.1179430137.32220.help-gnu-emacs@gnu.org>
2007-05-17 19:55 ` VC commands - a little ambiguous to me ?? Tassilo Horn
2007-05-18  0:01   ` William Case [this message]
     [not found]   ` <mailman.790.1179447092.32220.help-gnu-emacs@gnu.org>
2007-05-18  8:37     ` Tassilo Horn
2007-05-17 19:19 William Case
2007-05-17 19:42 ` Eric Hanchrow

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

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

  git send-email \
    --in-reply-to=1179446501.3152.143.camel@CASE \
    --to=billlinux@rogers.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tassilo@member.fsf.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.