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

Re: Too much information in diff header?

From: Alan Barrett <apb_at_cequrux.com>
Date: Tue, 8 Jul 2008 09:59:12 +0200

On Tue, 08 Jul 2008, Eric Lee wrote:
> How about this ?
>
> ===================================================================
> copy.c Thu Jul 3 05:39:41 2008 (r31986)
> copy.c Thu Jul 3 07:28:08 2008 (r31987)
> --- .../libsvn_wc/copy.c (r31986)
> +++ .../libsvn_wc/copy.c (r31987)

The "patch" program understands "Index" lines, which override the file
name in the "---" and"+++" lines. So I think something like this would
work:

  Index: long/path/to/subdir/filename
  --- filename Thu Jul 3 05:39:41 2008 (r31986)
  +++ filename Thu Jul 3 07:28:08 2008 (r31987)

--apb (Alan Barrett)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-09 17:43:39 CEST

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

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