RJJ
RJJ

Reputation: 11

Is there a version control system that is completely invisible to use while writing code?

I would like to use version control but I don't want to continuously commit several times an hour. Is there a version control system that records everything while you program so you don't have to commit, but still lets you go back to a previous state of your code?

Upvotes: 1

Views: 211

Answers (3)

sarnold
sarnold

Reputation: 104020

Some operating systems make mounting WebDAV shares into the filesystem very easy; you could configure an SVN server to export WebDAV, mount the export into your filesystem, and get to work.

Don't forget to configure your editor to store temporary files or backup files somewhere other than your source tree or current working directory. Otherwise you'll have a ton of useless files cluttering up your source control system, making it harder to use in the future.

But finding which version to revert to can be pretty difficult without check in comments or changesets linking related changes together; it might not be worth the effort of configuring the entire system if it is too difficult to use to undo specific changes.

Upvotes: 1

krtek
krtek

Reputation: 26597

You can do something like this if you're using the ZFS filesystem.

However, from a version-control point of view, I really don't think it's a good idea to store every changes. The size of you repository will become huge really fast.

And FYI, you don't have to commit several times an hour, I rarely do more than 4-5 commits a day.

Upvotes: 2

David
David

Reputation: 14404

Dropbox can do it. It records every change that you make.

Upvotes: 4

Related Questions