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

Re: Apply patch features...

From: Joseph Galbraith <galb_at_vandyke.com>
Date: 2007-05-24 23:01:44 CEST

Stefan Küng wrote:
> Joseph Galbraith wrote:
>> Hi,
>>
>> I sometimes "shelf" changes I'm working on by creating
>> a patch and then, later, go back to them by applying the
>> patch.
>>
>> I've noticed that:
>>
>> A.) I get prompted for where to save files that were "added"
>> when I created the patch, even though there appears to
>> be enough information in the patch file to automatically
>> put these files back where they were originally.
>
> That shouldn't happen. Can you explain exactly the steps you do to
> create the patch and apply it later? It might be important to mention
> the paths too, e.g., where you right-click to create/apply the patch.
> Oh, and don't forget to mention the version of TSVN you're using.

I generally right click on the WC root and choose "Create Patch"
Generally the paths will be several layers deep, for example,
e:\users\galb\trunk\CRT\src\xyzzy.cpp (where e:\users\galb
is the WC root.)

When I apply the patch, I right click in the same place (WC root.)

I'm using TortoiseSVN 1.4.3, Build 9282 - 64 Bit -dev, 2007/04/30
22:48:25. I also have the 32 bit version installed (so I can do
TSVN operations from file open dialogs of 32-bit devenv.)

>> B.) These new files are not 'added' after the patch. I have
>> to manually svn add them.
>
> We've decided to *not* add the files automatically. You may not want
> this (e.g., if you simply want to try a patch and then decide not to
> commit it).
> It's simple enough to add them from the commit dialog (show unversioned
> files, then simply check those unversioned files you want to add).

This seems wrong to me. Every other change in the patch-file goes
directly into the WC. It seems that if I didn't want commit it,
I'd revert the add the same way I revert all the other changes.

There are so many unversioned files floating around my WC that
I don't generally view them. I generally add files as I
create them. My WC, between source and build output, is
hanging out at 5.3 GB right now...

Thanks,

Joseph

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu May 24 23:01:55 2007

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.