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

RE: Repairing a repository

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Tue, 18 Jan 2011 17:12:28 -0000

[Please note: the convention on this list is to reply in line so you can
read top-to-bottom]

> From: Modha Khammammettu [mailto:MKhammammettu_at_calcas.com]
> Sent: Tuesday, January 18, 2011 9:26 AM
> To: 'users_at_subversion.apache.org'
> Subject: Repairing a repository
>
> Hi
> I have one repository, which do not have tags, branches and
> trunks to start with. Code was checked in like that.
>
> Now I want to create a branch for the code checked in and I
> cannot since the structure is not there.
>
> How I can fix my problem?
>
> Please let me know.
>
> Thanks
> Modha/-
>
> -----Original Message-----
> From: Modha Khammammettu [mailto:MKhammammettu_at_calcas.com]
> Sent: 18 January 2011 17:04
> To: 'users_at_subversion.apache.org'
> Subject: RE: Repairing a repository
>
> Can I create trunk, branches and main directories and move
> the existing structure under trunk, after shutting down the service.

You do not say what platform you use. On windows I would use
TortoiseSVN's RepoBrowser to create the trunk/tags/branches folders and
move the existing data under trunk. You will need the server running to
be able to do this (if you access through e.g. https:// instead of
file://)! This can be achieved using the command line "svn mv URL URL"
command...

This will cause problems for any working copies ~ lookup the "svn
switch" command, I think that will work but you may be better off doing
a fresh checkout anyway.

~ mark c
Received on 2011-01-18 18:13:12 CET

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.