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

Re: [TSVN] Re: Create list of patched files

From: Stefan Küng <stefan.kueng_at_wagner-group.ch>
Date: 2004-08-23 15:45:06 CEST

Jona wrote:
> Hmm.. think my explanation was too elaborate and the feature that I
> wanted got lost in the process... so much for my grand schemes (the ones
> that doesn't get lost in cyberspace that is)! :-)
> I suppose what I really want is just a "do stuff" button which extracts
> the list of files for a given version in Unified Diff format as well as
> the actual version.
> I.e. suppose I wanted to make a patch of revision 123, the Unified Diff
> file would look like this:
> +++ <PATH TO FILE ON SERVER> (revision 123)
> It would be prudent to make the path to file relative to the top most
> folder.

What I meant with topmost folder was the to top folder in your working copy.

> Would it be possible to create such a functionality? Either as a button
> or as a menu option.

No. Because I'm getting more and more confused about what you want and
why you want it.
So please: try to explain what you want to do with those patches, what
exactly is the work you want to have done. Don't try to explain _how_
you think TSVN should do it, but really what you want to use it for.
And please describe step by step what you want to do, best with an
example of your working copy and the repository.

> The same functionality seems to be archievable by using the "Show
> Differences as Unified Diff" as you described, however this assumes that
> you know the actual revision that the service you want to apply the
> patch to is running (which you should, I know, am just saying... :-)

Aeh, haeh? (translation: sorry, what???)
The revision of the service (if you're talking of the running server)
isn't of any interest to you. That has nothing to do with diffs.

> The reason why I'd prefer the other is cause I'm lazy (show me a
> programmer who isn't and I'll show you a liar) and don't want to confirm
> all the merge changes on each of the servers I need to apply the patch to.
> Furthermore, once you've commited the changes from the working copy to
> the repository you're not longer capable of creating a patch (the file
> created is 0 bytes) and finally the save dialog for the "create patch"
> option neglects to set the file type to .patch as TortoiseMerge requires.
> Is this on purpose(if so, I fail to see why?:-) or is it a bug?

TortoiseMerge doesn't require the filetype ".patch". It also accepts
".diff" and any other filetype you choose (e.g. .txt").

You mentioned something about multiple servers. Do you need your patches
propagate your changes to all servers? Then have a look at svk:


To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Aug 23 16:47:36 2004

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