Raj Sf
Raj Sf

Reputation: 1426

svn upgrade - not working when execute command from subdirectory

When I tried to upgrade my working copy on my linux server - I am getting the error

 Can't upgrade '/var/www/vhosts/xx.xx.xx.xx/abc/xx/yy/zz/Command' as it is not a pre-1.7 working copy root, the root is '/var/www/vhosts/xx.xx.xx.xx/abc'

Do I need to upgrade from root itself?

I am not sure if I upgrade it from root, my updated and modified files will be safe?

Note - I am using svn upgrade command.

Upvotes: 0

Views: 97

Answers (1)

alroc
alroc

Reputation: 28174

Yes, your working copy must be upgraded at the root of the working copy. Otherwise, the WC would be left in a very inconsistent state. Consider how a client would be expected to attempt to deal with a WC that consists of mixed format changes.

I recommend that people commit all changes prior to upgrading to to be safe, but you will probably be OK to upgrade from where you are now. If it hoses the WC, check out a new one & copy your changes over.

Upvotes: 2

Related Questions