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 » 27 Jan 2013, 09:04

This is a feature I would use GIT for, basically like auto saving in any other application but it auto commits every x minutes.
0 x

gajop
Moderator
Posts: 3023
Joined: 05 Aug 2009, 20:42

Re: Do any version control systems have auto commit?

Post by gajop » 27 Jan 2013, 09:25

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).
0 x

malric
Posts: 515
Joined: 30 Dec 2005, 22:22

Re: Do any version control systems have auto commit?

Post by malric » 27 Jan 2013, 10:01

You could make a script that runs every x minutes and does commit. What do you need this for ? Sounds a bit strange...
0 x

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 » 27 Jan 2013, 10:42

Google drive
0 x

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

Re: Do any version control systems have auto commit?

Post by SirMaverick » 27 Jan 2013, 10:43

malric wrote:What do you need this for ? Sounds a bit strange...
+1
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10236
Joined: 24 Jan 2006, 21:12

Re: Do any version control systems have auto commit?

Post by PicassoCT » 27 Jan 2013, 10:54

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.
0 x

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 » 27 Jan 2013, 11:03

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.
0 x

malric
Posts: 515
Joined: 30 Dec 2005, 22:22

Re: Do any version control systems have auto commit?

Post by malric » 27 Jan 2013, 11:31

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!
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14599
Joined: 17 Nov 2005, 02:43

Re: Do any version control systems have auto commit?

Post by Forboding Angel » 27 Jan 2013, 16:08

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.
0 x

User avatar
AF
AI Developer
Posts: 20669
Joined: 14 Sep 2004, 11:32

Re: Do any version control systems have auto commit?

Post by AF » 27 Jan 2013, 22:44

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
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14599
Joined: 17 Nov 2005, 02:43

Re: Do any version control systems have auto commit?

Post by Forboding Angel » 30 Jan 2013, 15:09

AF wrote:Google Drive isn't a version control system though....
Yes it does...
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10236
Joined: 24 Jan 2006, 21:12

Re: Do any version control systems have auto commit?

Post by PicassoCT » 30 Jan 2013, 15:34

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.
0 x

User avatar
AF
AI Developer
Posts: 20669
Joined: 14 Sep 2004, 11:32

Re: Do any version control systems have auto commit?

Post by AF » 31 Jan 2013, 00:59

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?
0 x

Post Reply

Return to “Off Topic Discussion”

cron