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?
-
1What would be these "*appropriate* version control commands" for example? Add, commit, delete? – miku Oct 25 '10 at 16:50
-
3I don't think it's a good idea to automate this. You should be committing changes manually when you intend them to be made. – Bernard Oct 25 '10 at 16:50
-
2hugh, what are appropriate commands for deletion or rename? ;) no commits, of course. That would be stupid. – fithu Oct 25 '10 at 16:55
2 Answers
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 ;-)

- 142,137
- 41
- 261
- 360
-
no I do want ;) and not single click, actually. And what about deletions? – fithu Oct 25 '10 at 17:03
-
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 González Oct 25 '10 at 19:56
-
-
1The file appears in the list of modified stuff with a "missing" label. – Álvaro González Oct 26 '10 at 07:02
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.

- 23,217
- 12
- 67
- 130
-
-
1In subversion terminology, a commit is a set of inserts/updates/deletes towards the version management system. Therefore. – Patrick Oct 25 '10 at 17:08
-
-
1Because 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 Oct 25 '10 at 17:32
-
2
-
It looks like you are looking for a sandwich and when we give you one, you simply say you're not hungry. Strange. – Patrick Oct 25 '10 at 21:25
-
2I'm looking for a steak and you are trying to give me burger. Saying, that fastfood is bad for health ;) – fithu Oct 26 '10 at 04:18