Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Source Safe
Message
De
29/08/2003 11:18:58
 
 
À
29/08/2003 08:27:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Source Safe Control
Divers
Thread ID:
00822437
Message ID:
00824574
Vues:
24
According to the "Visual SourceSafe 6.0 Automation" in MSDN

SourceSafe allows you to specify how the replacements of local files are handled. These flags allow you to customize this behavior. The following flags may be used with the CheckOut, CheckIn, Get, and UndoCheckOut methods of a file or project object. They may also be used with the Branch method of a file object.

Const VSSFLAG_REPASK
Currently this flag serves no purpose. It may be used in future versions of SourceSafe.

Const VSSFLAG_REPMERGE
When this flag is set, SourceSafe will merge files together that have been simultaneously modified by multiple users.

Const VSSFLAG_REPREPLACE
When this flag is set, the local file is replaced with the most recent copy from the database.

Const VSSFLAG_REPSKIP
When this flag is set, SourceSafe will not replace local files that are writable.

So it would seem you need VSSFLAG_REPREPLACE

>I am trying different flags but cannot find any that will overwrite an existing copy when I do GET latest copy. Do you have any idea?
>
>Thanks
>>#DEFINE VSSFLAG_REPREPLACE 128
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform