Reputation: 2635
There is a host named hostA at 10.10.10.40 and I log into this host and I vi files and when I am done I type in svn commit -m "explanation" and after wards an email goes out to evarybody telling them what file I changed and how, and the boss who knows that I am working (HURRAAAAYYY!!!!).
Then I log into hostC (10.1.300.80) and go to the directory were the file I changed is, and then I type in 'svn up and then I see a version number that matches the one on hostA.
Problem is I am on hostB (10.1.300.81) and I have a file that I changed (on hostB ) and my boss wants this file 'version controled' (booooooo!!!) . Like the next time I need to edit the file on hostB I have to do it the same way that I would edit something on hostC .
When I do an ls -ltra on the hostB in the directory where the file I need to change is I do not see a ".svn"
When I do an 'svn up' /production/scr/userStatsWrapper.sh on hostB - I get
Skipped '/production/scr/userStatsWrapper.sh'
When I try an 'svn add" /production/scr/userStatsWrapper.sh on hostB - I get
svn: '/production/fo/scr' is not a working copy
how do I add the file from hostB to the repoistory on HostA?
I attempted to import the whole directory of hostB reports to the SVN on hostA with :
svn import -m "reports directory from hoatB" /production/reports/ http://10.10.10.40/export/home/capser/SVN/branches/hostBReports
svn: OPTIONS of 'http://10.10.10.40/export/home/wjohnson/SVN/branches/hostBReports': 200 OK (http://10.10.10.40)
But I do not see a hostBReports directory on HostA (where we make SVN edits)
Upvotes: 0
Views: 98
Reputation: 859
You don't see .svn, so neither your svn does. This means it's really not a working copy. Make an empty folder next to that one and do checkout from the same repository.
Upvotes: 2