In Perforce, you typically do a two-step syncing process:
p4 sync
p4 resolve
The sync syncs your workspace to the repository and figures out which files are in conflict, and the resolve step does the merging and resolving of conflicts locally without checking anything in or otherwise affecting the repository. And then you can run your regressions, make sure it still works in before you check it in.
What is the svn equivalent to doing this? I know there’s got to be a way to do this, but the obvious google searches aren’t giving me any answers.
The steps are:
svn updateto update the working copy to the HEAD or desired revision orsvn mergeto merge the changes from a different branch into the working copy.filename: The original file is modified with markers indicating the lines in conflict.filename.mine: The original file.filename.rBASE: The unmodified version of the file at the working copy’s revision number (BASE) before the update.filename.rNEW: The new version of the file from the update.filenamein the above example) by hand to the desired state then callsvn resolvedto indicate the conflict has been resolved.svn resolveto pick a particular version, either “base” (filename.rBASE), “working” (filename), “mine-full” (filename.mine) or “theirs-full” (filename.rNEW).svn revertto undo the update of that file.svn committo update the repository. This will not proceed until all conflicts have been resolved.See Resolving Conflicts (Merging Other’s Changes) for more information.