Vault not detecting file changing

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Rachel Lavoie
Posts: 30
Joined: Fri Sep 10, 2004 2:52 pm
Location: Canada, Québec

Vault not detecting file changing

Post by Rachel Lavoie » Fri Sep 10, 2004 4:10 pm

We have an application that modify the content of the file without modifying the date/time value of it. We wanted it to do it this way because it doesn't change de source of file (it's doing a compress - decompress style job) and want the date-time to be a real modification information.

We changes files on our computer at night and make needed files only back to their previous state at morning.

But sometimes programmers do a "check out" and "check in" action on a file before rolling it back to it's previous state.
Then, when the programmer realise that (since there is no rollback), he do a chech out, put file to the previous state and try a check in. Then vault doesn't seem to see that tey had changed and don't update the file. I presume that Vault doesn't detect changements by files content.

Programmers have then to open the file, do a edit changement to be able to do a check in.
We could configure Vault so that when files doesn't change, to check-in anyway (don't undo check-out), but it happens often too that we have real unchange files and don't want to add it to the history. Doing an individual check in to files to make sure to select the "undo check-out" option manually is too long either.

Well, it's seems a little thing, but doing it every day it's kind of anoying. We didn't had this problem with SourceSafe because it seems to check change by content.

Is it possible to make Vault check changes by file content? Or do somebody have any other idea?

Thanks in advance.
Rachel Lavoie
Programmer Analyst
Labtronix R & D

ericsink
Posts: 346
Joined: Mon Dec 15, 2003 1:52 pm
Location: SourceGear
Contact:

Post by ericsink » Fri Sep 10, 2004 7:19 pm

Vault currently does not have the ability to detect changes by file content.

We have considered putting this in as an option, and we may eventually do so. However, Vault would run MUCH more slowly with this option turned on.
Eric Sink
Software Craftsman
SourceGear

Rachel Lavoie
Posts: 30
Joined: Fri Sep 10, 2004 2:52 pm
Location: Canada, Québec

Post by Rachel Lavoie » Mon Sep 13, 2004 4:03 pm

Thank you for for answering this fast. :)
Rachel Lavoie
Programmer Analyst
Labtronix R & D

Rachel Lavoie
Posts: 30
Joined: Fri Sep 10, 2004 2:52 pm
Location: Canada, Québec

About Adding the option...

Post by Rachel Lavoie » Mon Sep 13, 2004 4:38 pm

I just read another article in Gold Support that discusses about the same subject (Posted: Mon Sep 13, 2004 2:06 am, Post subject: content validation / checkin, checkout, "may changed").

In one of the answers, M. Dan Schreiber wrotes :
"And, as Eric mentioned, we do plan to put in an option that will see if a file has changed based on CRC rather than datetime stamp".

I'm just curious about it, is this planned to be added to the next version? And if so, when do you plan this next version will be be distributed?

Thanks in advance...

P.S.: sorry about my mistakes, I hope my french-writing-habbits won't make my messages mis-understandable...

Regards,
Rachel Lavoie
Programmer Analyst
Labtronix R & D

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue Sep 14, 2004 7:19 am

It is possible that we would include this in 2.1, which is due out in late fall. However, it may end up being more work/risk than we want to introduce for that release, so it may not make it.

Post Reply