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?
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.