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

Create patch BUG

From: Paul <paul.slootweg_at_gmail.com>
Date: Mon, 18 Nov 2013 17:29:12 +0000

This is a major problem!

I've supplied full details with a worked example - what more does one have
to do to get a response?

---------- Forwarded message ----------
From: Paul Slootweg
Date: 4 November 2013 18:56
Subject: Re: Create patch not working for a selection
To: users_at_tortoisesvn.tigris.org

Thought I'd add some detail - the zip file contains screen shots and an
example patch file.

Newly added to SVN file:

/one/two/three/three.txt
/one/two/two.1/two.1.txt.txt

I then select 'three.txt' but the selection also includes:

one
two
two/three
two/three/three.txt

This shows that having select 1 file for the patch, not only do I get 4
copies of that file in the patch, I also get a file that wasn't selected:

Index: two/three/three.txt
===================================================================
--- two/three/three.txt (revision 0)
+++ two/three/three.txt (working copy)
@@ -0,0 +1 @@
+File 3
\ No newline at end of file
Index: two.1/two.1.txt.txt
===================================================================
--- two.1/two.1.txt.txt (revision 0)
+++ two.1/two.1.txt.txt (working copy)
@@ -0,0 +1 @@
+File 2.1
\ No newline at end of file
Index: two/three/three.txt
===================================================================
--- two/three/three.txt (revision 0)
+++ two/three/three.txt (working copy)
@@ -0,0 +1 @@
+File 3
\ No newline at end of file
Index: two/three/three.txt
===================================================================
--- two/three/three.txt (revision 0)
+++ two/three/three.txt (working copy)
@@ -0,0 +1 @@
+File 3
\ No newline at end of file
Index: two/three/three.txt
===================================================================
--- two/three/three.txt (revision 0)
+++ two/three/three.txt (working copy)
@@ -0,0 +1 @@
+File 3
\ No newline at end of file

Does that help?

On 4 November 2013 18:10, Paul Slootweg <paul.slootweg_at_gmail.com> wrote:

> I've got a large set of new files, but when I want to create a patch
> containing a sub-set, the patch also contains files I did not select.
>
> When I select a file, all the nodes of the path are also selected and it
> seems as if the selection then automatically contains everything on the
> path.
>
> If I create a patch for a subset of files from the Commit dialog (by
> highlighting the files - not by selecting the checkbox) then the patch
> contains only the selected files.
>
> Is this a bug or am I misunderstanding something?
>
> Thanks,
>
> Paul
>
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2013-11-18 18:29:23 CET

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.