[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Patch file creation: Anchoring inconsistent

From: Daniel Hoenig <dhoenig_at_web.de>
Date: Wed, 3 Aug 2016 18:04:01 +0200

There are two ways to create a patch file:
1- in Windows Explorer right click on a folder, Tortoise context menu "Create patch"
2- in the Tortoise mdofociations window, right click on a selection of files, context menu "Create patch"

However, the two patch files created differ.

Example:

Top-level folder MyProject which is used as base for both scenarios 1 and 2.
A file MyProject/1/2/code.c

In scenario 1, the patchfile contains the full path (good)

Index: 1/2/code.c
===================================================================
--- 1/2/code.c (revision 66174)
+++ 1/2/code.c (working copy)

whereas in scenario 2 it contains only the filenames (bad)

Index: code.c
===================================================================
--- code.c (revision 12345)
+++ code.c (working copy)

The full path is important for anchoring in the code review tool Crucible.

The Tortoise modification window, although started from the parent folder, shows inconsistent behavior by using no path.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3181081

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-08-03 19:40:43 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.