Frage

ich bei einer Firma am Vertrag dass Verwendungen MKS. Ich habe auch SVN in der Vergangenheit als Mercurial und Git, sondern muss MKS verwenden zur Zeit (so weit kann ich nicht auf sie alle Unterlagen zu finden scheinen oder Best Practices).

Ich will wissen, was das Äquivalent von SVN-Update in MKS ist? Ich habe Neusynchronisation versucht, aber allzu oft, wenn ich das MKS zu überschreiben Dateien will, dass ich auf gearbeitet.

War es hilfreich?

Lösung

Wenn Sie auf Quelle arbeiten, müssen Sie ‚Check Out / F2‘ die Datei zuerst. Ich nehme an, Sie nicht, dass tat? Wenn nicht, werden Sie Ihre Arbeit woanders bewegen haben, überprüfen Sie die Datei aus und kopieren Sie Ihre Arbeit zurück über die ausgecheckt Version. Dann können Sie es wieder einzuchecken.

Beachten Sie, dass Sie zunächst ein Änderungspaket erstellen müssen werde, ist das, was alle Ihre ‚Check-outs‘ gegen getan wird. Nachdem alle Änderungen vorgenommen haben, müssen Sie das Änderungspaket senden.

Andere Tipps

When you "resynchronize" in MKS, the default behavior is to overwrite any working files in your sandbox with their member revisions from the current branch (or trunk if no branch exists.)

You can modify the behavior via configuration. In the client:

  1. File->Edit Preferences
  2. Expand the "MKS Source" tree node (2007) / "Configuration Management" tree node (2009)
  3. Expand the "Commands" tree node
  4. Select the "Resynchronize" command

You will want to modify the following settings

  • Overwrite if Pending: Uncheck
  • Overwrite Working File if Changed: Uncheck
  • Overwrite if Deferred Operation Exists: Uncheck
  • Merge Working File if Changed: Check
  • Merge Type: Automatic
  • On Conflicts: Launch Tool

The "resync" command will now attempt to automatically merge the member revision into your working file. If it cannot auto merge because of a conflict, it will launch the merge app to allow you to resolve the conflict.

I used SVN and CVS prior to using MKS, and I've found this modified resync behavior to be more intuitive than the standard resync behavior.

The MKS command of SVN update is "lock member" then "check in" using the MKS Integrity client 2007 or 2009. Cheers, Ramil

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top