0

I have a directory

D:\SVN_HOME\EclipseWorkspace\MF_CENTER_INFO

SVN_HOME - is a root svn working folder

MF_CENTER_INFO - the folder which I want to be commited to another svn repository

The default repository for D:\SVN_HOME\ is svn://10.101.101.101/svn/ee/trunk but MF_CENTER_INFO has to be commit to svn://10.101.101.101/svn/mf-center-vp/ (IPs are same)

so, what I did:

right mouse click on D:\SVN_HOME\EclipseWorkspace\

added property enter image description here

but when I choose commit or view properties for D:\SVN_HOME\EclipseWorkspace\MF_CENTER_INFO it shows default rep, now the external one

enter image description here

what's wrong?

VextoR
  • 5,087
  • 22
  • 74
  • 109

2 Answers2

1

I think that svn:externals property is set incorrectly: the value should be

MF_CENTER_INFO <url>

Please check Setting Up Subversion Externals With TortoiseSVN

pmod
  • 10,450
  • 1
  • 37
  • 50
  • Is MF_CENTER_INFO under version control? I.e. is svn://10.101.101.101/svn/ee/trunk/MF_CENTER_INFO exists in svn repo? – pmod Mar 11 '12 at 11:16
  • it exists in: svn://10.101.101.101/svn/ee/trunk/EclipseWorkspace/MF_CENTER_INFO – VextoR Mar 11 '12 at 11:20
  • Then, if you have already moved it to svn://10.101.101.101/svn/mf-center-vp/ - have you deleted svn://10.101.101.101/svn/ee/trunk/EclipseWorkspace/MF_CENTER_INFO ? Or do you need to keep both? – pmod Mar 11 '12 at 11:48
  • I didn't delete it and I don't need it. Should I delete it from svn://10.101.101.101/svn/ee/trunk/EclipseWorkspace/MF_CENTER_INFO and how? Thank you – VextoR Mar 11 '12 at 12:07
  • You can't have externals with the same name as folder in svn repo: so, you can 1) delete it with svn del 2) rename with svn move (see also http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-rename.html) or 3) correct SVN externals: MF_CENTER_INFO_REMOTE svn://10.101.101.101/svn/mf-center-vp/ – pmod Mar 11 '12 at 12:13
  • I want to delete it with svn delete, but it says: No write-lock in 'D:\SVN_HOME\EclipseWorkspace' Arghhh – VextoR Mar 11 '12 at 12:46
1

MF_CENTER_INFO must

  • not be ignored
  • exist in parent only as "virual" folder, not real

Way to fix

  • Remove all properies in 1-st commit
  • Move|delete physical folder on 2-nd commit
  • Create (correct) svn-externals in 3-rd commit
Lazy Badger
  • 94,711
  • 9
  • 78
  • 110