Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn: local commits

Tags:

commit

svn

Subversion: is it possible to commit local revisions without pushing them, and push them at a later date - or is the lack of this feature why it's called "centralized" ?

like image 398
Adrian Panasiuk Avatar asked Jul 03 '09 22:07

Adrian Panasiuk


People also ask

What does svn commit mean?

svn commit will send any lock tokens that it finds and will release locks on all PATH s committed (recursively) unless --no-unlock is passed. Tip. If you begin a commit and Subversion launches your editor to compose the commit message, you can still abort without committing your changes.


1 Answers

It is not possible to do local commits with Subversion.

This is because, as a centralized version control system, your local working copy does not have all the information the server has about past revisions, log entries, etc. which it would have had if it was a Distributed Version Control System (DVCS).

A subversion working copy contains a copy of all files as they were checked out so you can revert changed files without contacting the server.

If you really want to do local commits you should have a look at SVK, which is built on top of Subversion and provides DVCS like features.

like image 151
arturh Avatar answered Oct 12 '22 00:10

arturh