Page 1 of 1

Do any version control systems have auto commit?

Posted: 27 Jan 2013, 09:04
by Das Bruce
This is a feature I would use GIT for, basically like auto saving in any other application but it auto commits every x minutes.

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 09:25
by gajop
Dropbox I guess (yes it also has version control in a way, i.e you can check your old files from the net, download them and then use w/e compare tool you want).

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 10:01
by malric
You could make a script that runs every x minutes and does commit. What do you need this for ? Sounds a bit strange...

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 10:42
by Licho
Google drive

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 10:43
by SirMaverick
malric wrote:What do you need this for ? Sounds a bit strange...
+1

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 10:54
by PicassoCT
He lost some code that was dear to him- stop mock him, and start consoling.

Also, remember that nothing last forever - so if the copyright industry gets to svn as the next evil thing- you are fucked. If someone finds out you can share movies with these.

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 11:03
by Das Bruce
malric wrote:You could make a script that runs every x minutes and does commit. What do you need this for ? Sounds a bit strange...
I just want a way to ensure regular commits while I'm working. Sometimes I get distracted and it's an hour or two since I last commited and everything is irrevocably fucked.

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 11:31
by malric
PicassoCT wrote: Also, remember that nothing last forever - so if the copyright industry gets to svn as the next evil thing- you are fucked.
I think you should get a +1 for paranoia.

@DasBruce: if you are in Linux a cron script is very easy to make (and many tutorial out there). This being said, I think you should try to commit at important points in your development (when something works, when it compiles, when you think you wrote a good piece of code). In my opinion you might end up loosing more time looking for some piece of code that you remember was working 2 hours ago. Plus that if you ever develop within a team good habits will help not being hated :wink:

Anyhow, happy coding!

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 16:08
by Forboding Angel
I would use google drive. Failing that, if you want a more manual setup thing you could try syncback and back it up to a local disk or ftp server.

Re: Do any version control systems have auto commit?

Posted: 27 Jan 2013, 22:44
by AF
Google Drive isn't a version control system though....

When building a version contorl system ti doesn't make much sense to build this in. The main reason being that one can automate that ones self with cron jobs and services

See here:

http://stackoverflow.com/questions/4201 ... uto-commit

Re: Do any version control systems have auto commit?

Posted: 30 Jan 2013, 15:09
by Forboding Angel
AF wrote:Google Drive isn't a version control system though....
Yes it does...

Re: Do any version control systems have auto commit?

Posted: 30 Jan 2013, 15:34
by PicassoCT
No, it does not. I came here for an argument!

Truth is that anything that autocomits, and autoupdates, is virtually indistinguishable- from a classic filesharing service.

Re: Do any version control systems have auto commit?

Posted: 31 Jan 2013, 00:59
by AF
Document revision history in Google Docs is not comparable to the likes of svn/git/mercurial. Nor is it something you can export and take with you without great effort.

Das Bruce what did you go for in the end?