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

Re: New User Confusions; Docs Ideas

From: <trlists_at_clayst.com>
Date: 2004-11-29 19:56:20 CET

On 29 Nov 2004 Ben Collins-Sussman wrote:

> Does this section not make it clear?
>
> http://svnbook.red-bean.com/en/1.1/ch03s05.html#svn-ch-3-sect-4.2

I read that before and just reviewed it in your quote and in context.
What is missing is what's below. There's a rule here, but the text
doesn't make it clear that it's a rule, it sounds more like a
suggestion.

> Perhaps we need a sentence that says something like: "You MAY NOT
> manipulate your working copy with standard file management commands;
> you MUST use Subversion to manipulate your working copy. The only
> exception to this is changing file contents, which can be done with
> your editor, without having to notify Subversion."

Yes, that's it.

However I wonder if it's fully true. For example it appears to me
(perhaps I'm mistaken) that to add a new empty subdirectory to my
working copy and have it under version control, I must create it first
with mkdir, then do an svn add. If I do the svn add first, it gives a
'not found' error. But to rename a directory, I must do it with svn
move and must not use mv (or ren on Windows). The same is true for
files, I believe.

The other thing I can't figure out is when changes take place in the
working copy. For example, if I do an svn move on a path does it make
the local change immediately, and update the repository on commit
(that's what I'd expect)? Or does it not update the working copy until
the commit?

Also, thinking of newbie errors here, what is the correct way to
recover if you DO manipulate your working copy with standard file
management commands? For example what if I remove a file or directory
but forget to tell svn? I rename one? Copy one?

Thanks,

--
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 29 19:59:01 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.