One thing I like about SVN that, at least in the past, was not easy with Git is checking out sub directories.
One thing I do is check out svn+ssh://svn/home/svn/configs/server/etc and copy the .svn file over to /etc so that I can check in changes from the actual directory on my servers at home. I never found a good way to do that on Git. But, admittedly, I haven’t looked in a couple years.
I have had some problems doing what you’re trying to do. Replacing the variable with a function would work.
rmdec() { sed ‘s/…$//’; }
It depends on the VPN. Sometimes there’s a “block local network access” while connected. It could be a client setting or a server setting. Additionally, VPNs are all about routing. So you could run into a problem if you connect to a VPN where the remote network is the same as the IP address of the server you’re trying to connect to.
So if it is that you’re having a conflict between the remote and local networks overlapping, you could change the IP addresses on your local network. It’s probably a good idea not to use the default subnet that your router gives you (like 10.0.0.0 or 192.168.0.0 or 192.168.1.0).
Yeah. SVN’s ability to do that is not experimental. I’m hoping that they make that feature much easier