Does the svn 1.7 working copy format store the entire history of the repo?
I’m curious about the capabilities of the new working copy format in Subversion 1.7 (the single .svn directory at the root).
Does it store an entire history of the repo, like git does? Or are the files in pristine merely a copy of the current (unedited) revision from the server? Does svn support working disconnected at all – committing multiple times locally before pushing to the server?
- Get a file from a git repository at a specific revision number
- should I commit .xcodeproj file in SVN?
- How to find all entries in SVN repo with an external to a given URL
- git-svn: Keep .svn dir(s)
- What do you use the svn tags directory for anyways?
- How to create a Git tag only for a specific branch?
2 Solutions collect form web for “Does the svn 1.7 working copy format store the entire history of the repo?”
Subversion only maintains the revision you currently have checked out locally. (Some meta data about other revisions might be cached depending on your client, but the actual file content from other revisions will not be stored.)
There’s no way to commit other than committing to the actual repository. Just a design difference of git vs subversion (centralized vs distributed).
No, the .svn directory keeps a pristine version of what you’ve checked out of the repository. (i.e. the BASE revision) It does not keep all the history.
SVN does not work disconnected. You need to have a connection to the server, unless of course you’ve checked out your working copy from a URL like
file:///c:/my_dir — which is to say you’re working with a local repository.