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

Re: I think I ruined my repository. What do I do now?

From: barophobia <barophobia_at_gmail.com>
Date: 2005-05-16 10:29:40 CEST

On 5/16/05, Max Bowsher <maxb@ukf.net> wrote:
> In answer to your subject line - there's nothing ruined here, it appears you
> are just confused about what directory structure is actually contained
> within your repository, and about what various commands actually do.

Confused? Definitely! :)

Within my repository I don't see anything pertaining to my different
projects. Isn't that how it's supposed to be? I mean, isn't everything
stored in a berkeley db?

> Exactly. The above is broadly equivalent to:
> svn mkdir -m "initial import" file:///home/chris/programs/trunk
> file:///home/chris/programs/tags file:///home/chris/programs/branches
>
> Since those directories already exist in your repository, svn naturally
> produced an error.

Makes sense. Except that I thought every project needed those
directories. Do they not? Are they only needed when the first project
is created?

> > So then for shits and giggles I went into my public_html directory and
> > tried a checkout on that project. And when I did that it spit back my
> > ORIGINAL project (the one I made a few months ago) and it's files.
> >
> > What the hell did I do wrong and how can I fix it?
>
> You don't show command lines, but it sounds like there is nothing wrong
> except you don't understand what the commands you are typing actually mean.

From my bash history:

svn checkout file:///home/cornelious/programs/trunk mymoney

> > What I entered was:
> >
> > svn list --verbose file:///home/chris/programs/project
> >
> > I get back:
> >
> > svn: URL 'file:///home/chris/programs/project' non-existent in that
> > revision
>
> Certainly. You don't have a project actually called 'project', after all.

That is correct, but I also tried changing 'project' to 'mymoney' and got:

[chris_at_localhost ~]$ svn list --verbose file:///home/chris/programs/mymoney
svn: URL 'file:///home/chris/programs/mymoney' non-existent in that revision

> First, understand that a project is nothing more than a directory. Now,
> realize that you can arrange directories within a repository however you
> like.

My question to this goes back to the berkeley db question above. Can I
really arrange the directories within the respository or am I showing
my confused-ness? :)

> So, the fact that you saw something you didn't expect just means you have
> arranged your repository in a different way than you thought you had.

How can I get back on track? Where I'd like to go is back back before
I did my initial import of my second project if possible.

Thanks,
Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 16 10:32:08 2005

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