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

Re: Bug? Problem applying a patch which creates new files

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-09-07 17:43:08 CEST

Sergey Koshcheyev wrote:
> Stefan Küng wrote:
>> Please post the patchfile here. Otherwise I can't reproduce the
>> problem. At least, post the first few lines of the added file in the
>> patch, starting with the "Index: " line and the next lines up to the
>> part where the actual content of the added file starts.
>
> It goes like this:
>
> Index: NHibernate.Test/Unconstrained/SimplyManyToOneIgnoreTest.cs
> ===================================================================
> --- NHibernate.Test/Unconstrained/SimplyManyToOneIgnoreTest.cs
> (revision 0)
> +++ NHibernate.Test/Unconstrained/SimplyManyToOneIgnoreTest.cs
> (revision 0)
> @@ -0,0 +1,48 @@
> +using System;
> +using NUnit.Framework;
> +using System.Collections;
> ...
>
> By the way, a user suggested that this may occur because the patch
> author didn't svn add the file before making the patch but I haven't
> tried to verify this.

I can't reproduce this with a normally added file.
But maybe you've run into this bug here:
http://tortoisesvn.net/issues/?do=details&id=241
?

Check the patch file: does it have more than one Index: line for the
file which fails? If yes, then that's the reason.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Sep 7 17:54:46 2006

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.