Re: Renaming repositories

988 views
Skip to first unread message

Mark Ward

unread,
Nov 29, 2011, 8:19:48 AM11/29/11
to scmma...@googlegroups.com

If you are using gf or git you could create the new repository normally and then push the old repository into the new.  When done delete the old. 

This is how I have moved repositories around.  Not sure about svn.

On Nov 29, 2011 7:01 AM, "Ben Leov" <ben...@gmail.com> wrote:
Would it be possible to implement the ability to rename repositories?
The way I'm doing it currently is to create a new repository with the
new name, delete it from the file system, copy the repository to the
new name, then delete the old repository. It doesn't happen that
often, its just when it does, somebody who has terminal access to the
server needs to do it.

Sebastian Sdorra

unread,
Nov 29, 2011, 10:33:28 AM11/29/11
to scmma...@googlegroups.com
A short workaround for repository renaming is the following:

- stop scm-manager
- rename the repository folder (.scm/repositories/type/name)
- create a backup of the repositories.xml (.scm/config/repositories.xml)
- search the repository in the repositories.xml and change the name
element to the new value
- start scm-manager

I will think about a rename function for the core of scm-manager.

Sebastian

2011/11/29 Mark Ward <ward...@gmail.com>:

Leif Eric Fredheim

unread,
Jul 16, 2013, 6:27:05 AM7/16/13
to scmma...@googlegroups.com
Hi Sebastian,

I need to rename some repositories in SCM Manager, which is running on a Windows server.

Following your steps, I'm unable to find repositories.xml. Would you happen to know where this file is located on Windows?

I've also peeked in environment variables and in the Windows registry, but I haven't been able to figure out where SCM Manager keeps this data.


Many thanks in advance,

– Leif

Leif Eric Fredheim

unread,
Jul 16, 2013, 6:39:40 AM7/16/13
to scmma...@googlegroups.com
Doh! Now I just found it :)

It was here: C:\Users\<current_user>\.scm\config
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages