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

Re: Create patch file for newly added dirs/files (issue #175)

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-12-22 13:29:36 CET

Peter McNab wrote:
> Leon Zandman wrote:
>
>> Hi,
>>
>> I just changed some files in my repo and also added a new directory with
>> some files in it. Before committing it I wanted to create a patch file
>> of it to send to some other developer, but I noticed the resulting patch
>> file only includes diff info for the changed files, but doesn't include
>> diff info for the added directory and files.
>>
>> I searched this mailing list and found out that this apparently is a
>> Subversion shortcoming ("The subversion libraries do not support
>> creation of patches which add folders (and files within added
>> folders)"). TSVN issue (#175) was opened for it in which it is suggested
>> to warn the user that those files and folders will not be included. The
>> issue is currently closed and says it should be implemented in rev.
>> 4567. But I don't understand why I didn't receive any warning? I'm using
>> TSVN rev. 4786.
>>
>> Greetings,
>>
>> Leon Zandman
>>
>>
>>
> Just me chipping in to say I concur.
>
> Someone (clever) says "SVN Add" the wanted folders and files but don't
> commit.
> Create the patch then revert unless you want the new stuff in the repo.

But I don't think that works for added folders, only added files.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Dec 25 04:09:00 2005

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

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