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

RE: how to get rid of "moved" directory?

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-01-17 17:29:51 CET

-----Original Message-----
From: Aaron Digulla [mailto:digulla@hepe.com]

svnadmin create xxx
mkdir test
svn import test file:///$(pwd)/xxx
rm -rf test
svn co file:///$(pwd)/xxx test
echo test > readme
svn add readme
svn ci -m xxx
svn info .
--------------------------

I don't quite understand what this sequence of commands is supposed to do.
You check out .../xxx into ./test. You then create ./readme (a sibling of
./test) and "svn add" it. That implies that the current directory, "." is a
version-controlled directory. But what is it a check-out of? You haven't
shown that.

Also, you've created the directory "./test", but you haven't either done
"svn add test" or "svn propset svn:ignore test .", so Subversion is not
going to know what to do with it. Although I don't think that will stop
"svn ci .".

Thinking about it a bit more, "." must have been checked out at some time in
the past. When you did the "svn import", you advanced HEAD in the
repository, and so "." is now out of date. So "svn ci ." will fail, as
there's a pending Add change in it.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 17 17:34:17 2005

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