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

Re: Create patch, include files not under version control

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-11-25 13:43:37 CET

Peter McNab wrote:
> Pete Mounce wrote:
>> Hi
>> I want to create a patch to show some work to a colleague for him to
>> review, before I commit it to the repo (or chuck it away).
>> So, I did the changes.
>> I did TSVN -> create patch on the root of my source.
>> However, it errored out because one of the changes introduced a new
>> file, and that isn't version controlled yet (because I specifically
>> don't want to commit this until my colleague's had a look).
>> Am I doing something wrong, or not possible? I'm using TSVN 1.2.4,
>> Special Needs edition.
>> Regards
>> Pete
> Unfortunately one cannot have unversioned files included in a patch file.
> Limitation of Subversion as I discovered.

You need to add the file (without committing) then create the patch.

It appears to be a bug that unversioned files are presented for
selection in 'Create Patch'.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Nov 25 12:46:52 2005

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.