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

Re: Create patch not working for a selection

From: Paul <paul.slootweg_at_gmail.com>
Date: Mon, 4 Nov 2013 18:56:05 +0000

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=3067848

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

Received on 2013-11-04 19:56:11 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.