views:

75

answers:

2

I'm looking for a program, that is capable to monitor file deletions/creation/renames and issues appropriate version control commands automatically. Using bazaar and subversion. Is there any?

A: 

This looks very dangerous. Suppose you have 2 related files that you both want to change. You can delay the save in your IDE until you have made all the changes, but the IDE will be unable to save them at the exact same moment (it will be very close but there can be some milliseconds in between). As soon as the first file is changed the automated procedure will perform the commit, causing an inconsistency in your application.

What you probably want is a system that allows you to go back to your own changes in case you screwed up your own local code. SCITOOLS had a tool called TRACKBACK which exactly did this. Unfortunately they don't sell this anymore.

Patrick
hey, where ur found the word "commit" in my question?
fithu
In subversion terminology, a commit is a set of inserts/updates/deletes towards the version management system. Therefore.
Patrick
thanks, C.O.I ask, why you write about commits. I didn't ask for this.
fithu
Because the concept of committing is integral to the concept of version control. Its like ask why someone mentions bread when you asked about how to make a sandwich.
Toymakerii
I didn't ask for any auto-commits. Period.
fithu
It looks like you are looking for a sandwich and when we give you one, you simply say you're not hungry. Strange.
Patrick
I'm looking for a steak and you are trying to give me burger. Saying, that fastfood is bad for health ;)
fithu
+1  A: 

For Subversion, TortoiseSVN allows you to fix renames and it also allows to add and commit unversioned items with a single click. These options are manual but I believe the functionality is good enough: you don't want to automate such stuff because computers are not very smart and they definitively cannot read your mind ;-)

Álvaro G. Vicario
no I do want ;) and not single click, actually. And what about deletions?
fithu
Deletions are handled as well. And I presume most GUI tools do so. I guess you don't actually use VC software for the purpose we all think :)
Álvaro G. Vicario
really? What tsvn do, when u deleted file not with tsvn?
fithu
The file appears in the list of modified stuff with a "missing" label.
Álvaro G. Vicario