Do any version control systems have auto commit?

Do any version control systems have auto commit?

Post just about everything that isn't directly related to Spring here!

Moderator: Moderators

Post Reply
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Do any version control systems have auto commit?

Post 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.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Do any version control systems have auto commit?

Post 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).
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: Do any version control systems have auto commit?

Post 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...
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Do any version control systems have auto commit?

Post by Licho »

Google drive
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Do any version control systems have auto commit?

Post by SirMaverick »

malric wrote:What do you need this for ? Sounds a bit strange...
+1
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Do any version control systems have auto commit?

Post 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.
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: Do any version control systems have auto commit?

Post 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.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: Do any version control systems have auto commit?

Post 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!
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Do any version control systems have auto commit?

Post 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Do any version control systems have auto commit?

Post 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
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Do any version control systems have auto commit?

Post by Forboding Angel »

AF wrote:Google Drive isn't a version control system though....
Yes it does...
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Do any version control systems have auto commit?

Post 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Do any version control systems have auto commit?

Post 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?
Post Reply

Return to “Off Topic Discussion”