Preface: don't mix into jumble Repository and Working Copy. /.svn
dir is attribute of Working Copy, which you can get from any subtree of tree in Repository. BTW, real URLs and paths in question will help to debug troubles easier
OK, I'll try to be sensitive some time and reconstruct sutuation. Fix my assumptions, if they will be wrong somewhere-somehow
- You have repository with dirs (under root directly, not trunk?) /code + /data + /web
- You checkout your WC from
URL/web
path - Now you want to get your WC linked to
URL
If all above is correct you have two ways
- a) Commit local changes from current WC b) Checkout into new location new Working Copy from / c) Delete old WC and use new WC
- You can try (no warranties, I'm too lazy to test) switch current WC to the new point of mount inside Repository:
svn switch ^/
and update your WC (svn up
) after switch in order to get full updated tree from repository
First way is faster, simpler and less troublesome