1

I have a bunch of files and folders which I want versioned in svn.

The installed svn is 1.7, we recently upgraded from 1.6. I have a repository made in 1.6 that contains some of the files and folders I currently have. I checked out the repository and added the other files and folders to it, but now it can no longer update or commit. It says my version is out of date. When I try to upgrade it says the working copy is not pre-1.7.

Another solution would be to create the existing folder into a new svn repository, how would I do that?

I don't care about the history up to this point.

When searching for add folder to repository I get stuff about adding another folder to an existing repository, can't do that.

I just want to turn a random folder into a revisioned folder on svn.

Kara
  • 6,115
  • 16
  • 50
  • 57
MrFox
  • 4,852
  • 7
  • 45
  • 81
  • Can you checkout another working copy from the repository?, Is the repository remote or local (ie. what does the url look like), can you post the cmds and the command output? – Gareth Davis Jan 05 '13 at 08:40
  • I can checkout another working copy. The repository is remote. http://svn.company.com/repos/project_name/trunk – MrFox Jan 07 '13 at 08:18
  • Why has this been migrated? It's not a programming issue, it's only about working with svn. – MrFox Jan 07 '13 at 08:19
  • 3
    Does it really say "version is out of date"? Can you please post the *exact* commands and error messages? – Álvaro González Jan 11 '13 at 09:34

1 Answers1

2

My best guess is that you've already upgraded to 1.7 your repo, but copied some files from a 1.6 working copy. See this other thread.

Because if I understand it well :
- You have a repo r1 in 1.6, not upgraded
- You checked out another repo r2, which is therefore in 1.7
- you copied some folders from r1 to r2, without removing the .svn, which is 1.6
- you end up with a 1.7 working copy containing 1.6 information.
- So you cannot commit, update and everything
- But you cannot upgrade, as it is already a 1.7 working copy

Hope this helps

Community
  • 1
  • 1
autra
  • 895
  • 6
  • 21