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

Re: I screwed up; please help

From: William Nagel <bill_at_stagelogic.com>
Date: 2005-04-13 18:35:38 CEST

Kevin,

It appears that you checked out two working copies of the trunk
directory into directories named "orderDB" and "consultDB".

Notice how you have a space between file:///var/local/svn-repos/trunk
and consultDB, same with orderDB. That means that your checkout
command told svn to checkout the directory /trunk from the repository
into a local working copy directory named consultDB. Ditto with
orderDB. You now have two working copies of the trunk directory (which
are identical, unless you've made some local changes), in differently
named working copies. The working copy name, however, has no bearing
on the repository itself. It still considers the files to be located
in /trunk.

If you would like to create a directory named orderDB as a subdirectory
of /trunk in the repository, you can do so by using 'svn mkdir' (or
create the directory in your working copy and add it with 'svn add'.
To move your existing files into orderDB, you can use 'svn mv'

Hope that helps some.

-Bill

P.S. Subversion has no concept of projects. All it knows about are
directories. Everything is in a single tree of files and directories,
and there is nothing special about the directories /trunk, /branches,
or /tags, except for the meaning you conceptually assign to them.

On Apr 13, 2005, at 10:17 AM, KEVIN ZEMBOWER wrote:

> Somehow, I named a project incorrectly:
> kevinz@www:/tmp/consulttmp$ mkdir consult
> kevinz@www:/tmp/consulttmp$ cd consult/
> kevinz@www:/tmp/consulttmp/consult$ svn checkout
> file:///var/local/svn-repos/trunk consultDB
> A consultDB/tmp
> A consultDB/tmp/DistInventory.txt
> <snip>
> A consultDB/additem.php
> A consultDB/Makefile
> Checked out revision 25.
> kevinz@www:/tmp/consulttmp/consult$ cd ..
>
> This project should have been named "orderDB". I noticed that there
> was an "orderDB" project, too:
> kevinz@www:/tmp/consulttmp$ mkdir order
> kevinz@www:/tmp/consulttmp$ cd order/
> kevinz@www:/tmp/consulttmp/order$ svn checkout
> file:///var/local/svn-repos/trunk orderDB
> A orderDB/tmp
> A orderDB/tmp/DistInventory.txt
> <snip>
> A orderDB/additem.php
> A orderDB/Makefile
> Checked out revision 25.
> kevinz@www:/tmp/consulttmp/order$ cd ..
>
> As far as I can tell, these projects are identical:
> kevinz@www:/tmp/consulttmp$ diff -r consult/consultDB/ order/orderDB/
> diff -r consult/consultDB/.svn/entries order/orderDB/.svn/entries
> 28c28
> < text-time="2005-04-13T14:51:29.000000Z"
> ---
>> text-time="2005-04-13T14:51:47.000000Z"
> <snip>
> diff -r consult/consultDB/help/.svn/entries
> order/orderDB/help/.svn/entries
> 16c16
> < text-time="2005-04-13T14:51:29.000000Z"
> ---
>> text-time="2005-04-13T14:51:47.000000Z"
> <snip>
> kevinz@www:/tmp/consulttmp$
>
> The only differences found were in "text-time" entries in .svn files.
>
> Can anyone describe to me how to do these tasks:
> Make sure that the state of the files in orderDB are equal to or at a
> later revision compared to the files in consultDB.
>
> Remove consultDB entirely from the repository, so that I can enter the
> project that should be correctly called consultDB.
>
> I read the on-line Subversion book the section on svnadmin dump and
> load, but no commands that I recognized for deleting projects or
> comparing their source files. I maybe just need a little hand-holding
> here.
>
> Thank you for your help, advice and suggestions.
>
> -Kevin Zembower
>
>
> -----
> E. Kevin Zembower
> Internet Systems Group manager
> Johns Hopkins University
> Bloomberg School of Public Health
> Center for Communications Programs
> 111 Market Place, Suite 310
> Baltimore, MD 21202
> 410-659-6139
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 13 18:41:39 2005

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.