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

Re: [TSVN] Create list of patched files

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-08-11 23:09:57 CEST

Jona wrote:

> Hi,
> I've been searching far and wide for a feature which enables me to
> create a list of patched files.
>
> What I want to do is, once changes are commited to the repository,
> extract a list of changed files with their revision number in the
> repository in Unified Diff format.

Show Log, select the revision, right-click, chose "show differences in
Unified diff format". Done!

> This functionality is similar to the Create Patch functionality already
> present with 2 differences:
> 1) The create patch option creates a Unified Diff file with the current
> revision number in the repository

Wrong! The create patch creates a unified diff file with the last
committed revision and the working copy!

> 2) The create patch option writes the changes to be made to the current
> revision of the file in order to apply the patch

Aeh, hae?
(translation: what? Don't understand what you mean)

> Doing it this way means that a user has to sort any conflicts every time
> the patch is applied using the Merge program.

Sure. If a patch is applied to the working copy and the patch does not
match exactly, you must sort out conflict manually.

> Seems to me that it would be prudent to be able to extract a list of
> changed files with their respective revision numbers in order to make a
> patch which would fetch the correct revision directly from the
> repository and replace any existing files in the selected directory (a
> backup of the existing files would be nice here, I think, or a list
> which enabled de-patching directly from the repository)

Can you please provide an example? I mean what do you really want to do?

> Furthermore, it seems that the current "apply patch" functionality
> expects the patch to be applied directly in the correct directory. That
> is, it doesn't appear to be possible to apply a patch to a top folder
> eventhough the path is clearly written in the generated Unified Diff file.

No. You can apply the patch to the top folder, as long as the patch was
created from the top folder too.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Aug 12 00:20:05 2004

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.