Saving merges using KDiff3 with TortoiseSVN - tortoisesvn

Wanting to use KDiff3 as my conflict resolution tool for TortoiseSVN I followed the instructions here and here to configure TortoiseSVN to use KDiff3. My merge tool settings in TortoiseSVN are thus:
C:\Program Files (x86)\KDiff3\kdiff3.exe %base %mine %theirs -o %merged --L1 %bname --L2 %yname --L3 %tname
When performing a merge a conflicts may be detected. If they are I hit the 'Edit Conflict' button to launch KDiff3 and reconcile the merge conflicts.
However, when I save my merge the result is saved to a temporary file in the .svn folders rather than within the actual working file C:\projects\my-new-project\src\mvags1.mxml. The temporary location can be seen in the KDiff3 output window as well.
Have I configured anything incorrectly or are my expectations for how KDiff3 works with TortoiseSVN incorrect?
I am using TortoiseSVN 1.7.5 and KDiff3 0.9.96.

My expectations for how KDiff3 would work with TortoiseSVN and Subversion were flawed. The behavior that I was experiencing is the correct behavior.
The proper process for using KDiff3 with TortoiseSVN is:
Click the edit conflicts button when conflicts are detected (in TortoiseSVN)
Resolve the merge with KDiff3
Click the save button in KDiff3
Close KDiff3
In TortoiseSVN mark the file as resolved

After merge to working copy of a branch (svn merge --quiet --accept postpone http://../trunk)
I go to TortoiseSVN extension menu and select "Resolve..."
The window with the list of conflicted items displayed.
Right click on the first item and then select "Edit conflicts". KDiff3 merge window appears.
Pressing B for selecting line source.
click Save. File will be saved with merge result.
Close KDiff3.
How to make conflict automatically marked as resolved in TortoiseSVN when I exiting KDiff3?
I am using:
Windows 10 x64
TortoiseSVN 1.9.5, Build 27581 - 64 Bit
kdiff3 Version 0.9.98 (64 bit)
Merge Tool setting in TortoiseSVN
C:\Program Files\KDiff3\kdiff3.exe %base %mine %theirs -o %merged --L1 Base --L2 Mine --L3 Theirs

Related

How to UPDATE the readme.txt file in the tags version

I am trying to update the readme.txt file Tested up to: in the tags/1.4.1/ folder, as Otto mentioned here: https://wordpress.org/support/topic/update-plugin-tested-up-to-version-without-triggering-plugin-update-to-users/
without bumping the version
I have successfully updated the trunk/readme.txt file Tested up to: but I am not sure how to update the tags/1.4.1/readme.txt file.
~
I edited the file locally. When I right click on the file in tags/1.4.1/ and select TortoiseSVN > there is no option to 'push' or anything else that would suggest updating that file.
When I right click on the readme.txt file in trunk/ and choose TortoiseSVN > Baranch/tag it gives me an error that the file already exists.
If I right click on the readme.txt file in trunk/ and choose SVN Commit there is no option for the tags folder.
If anyone using TortoiseSVN to update their WordPress Plugin for changing the Tested up to:can provide a step by step that would be appreciated!
You can change your current tag:
Get a working copy that points to tags/1.4.1/. To do this, right click on a directory in windows explorer where you want to place your working copy. Then select SVN Checkout.... Change the 'URL of repository' to tags/1.4.1/. See: Checking Out A Working Copy
Make your local changes in the working copy you created in previous step.
Right click on the folder of your working copy and select SVN Commit... Commit your changes in the working copy you worked on in previous step. TortoiseSVN may warn you that you're trying to commit into a tag (which is true) but you can proceed anyway if that's what you want.
... or you can simply remove the tag from the Repository Browser, make your changes elsewhere (in a working copy that points to trunk) and then Branch/Tag again from the aforementioned working copy.

TortoiseSVN diff on directory only shows propinfo - what gives?

I just merged a directory and am doing a TortoiseSVN diff to check for changes before committing. I can see from the file explorer that I have modified several files, but I can't see anything from the diff, only the propinfo. It seems I modified svn:mergeinfo while merging, and that is all the diff is showing me.
How do I see the actual files that have changed??? Using Kdiff3 vs TortoiseMerge doesn't make a difference.
TortoiseSVN version 1.9.7
When propinfo is modified, TortoiseSVN apparently only shows this propinfo when diffing a directory, if you use "SVN diff" from the context menu.
You can work around this by using Check for Updates from the context menu rather than SVN diff.
This works because "Check for Updates" appears (?) to be equivalent to the command TortoiseProc.exe /command:diff /path:. /ignoreprops, while "SVN diff" does not pass the ignoreprops flag.

P4V / Helix -- Missing "Checkout and Open" for unsynced files

Before reinstalling P4V, I could right-click a file and go to Checkout and Open -- this would auto-sync the file, check it out and open it. Now however, I have to Get Latest Version before I have the option to Checkout and Open -- can I change this back to how it was somehow?

Tortoise Svn shows all Unmodified files as Modified

I am using Tortoise SVN and Visual SVN Server.
Here is how I am using SVN:
Export Code from Windows7 System and then Copy all code Files to my Fedora System
Make required changes.
Then I Checkout on Windows7 System.
Then Copy All code files from Fedora System to windows7 system.
Then paste in Folder where I checked out.
At this point when I check for modified files. SVN shows me all files as modified, even though they are not modified by me.
Also when I diff unmodified files by me no change is shown, but svn shows that file with red icon.
Could someone please explain the solution this issue?
Note: On Fedora System I am using QT Creator to edit code files. This issue observed with .txt, .cpp, .c files only not with qt ui files.
You can find here how TortoiseSVN finds out if a file is modified.
You should look at the file metadata (date of creation/modification, ownership, etc.)
Edit: If you have issues with end-of-line markers, you can modify SVN behaviour with the svn:eol-style property. See this page for Tortoise configuration.

How to set "execute" attribute to a file and check it in SVN from Windows?

I have SVN configured in Linux at a different location and I need to check-in a shell script to SVN with executable attribute ON from Windows. I use Bamboo as CI, which checks out sources from SVN and does the periodic build. It throws error that shell script is not executable. (Bamboo run as root).
What is the best way to set the executable permission?
I don't use any SVN client and use eclipse to check-in and check-out. If SVN client is the only, how do I find a version that is compatible with SVN plugin that I use in eclipse.
I had a compatibility problem earlier. When I checked-in a file from Tortoise, I couldn't checkout that file from Eclipse.
svn propset svn:executable "*" someScript
The syntax is propset key value so svn:executable is the key and "*" is the value
someScript is the filename
SVN ignores UNIX file permissions when commiting. The way that you set exec permissions on a file is to change the svn properties for that file. If you are on Windows, the easy way to do this is to install Tortoise SVN. Then after you have committed, use Tortoise to open the repo-browser. Find a file that needs to be executable and right-click it to open properties.
The dialog that appears is the SVN properties dialog. Click New to add a new property, select svn:executable from the dropdown list, and set the property value to *.
That's it. When you click OK, it is committed to the SVN repo. The next time you, or the build machine, do an svn update, that file will have executable permissions on Unix/Linux.

Resources