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

Re: How do I send a patch of committed revisions.

From: Peter McNab <mcnab_p_at_melbpc.org.au>
Date: 2005-10-24 15:42:02 CEST

Dave Van den Eynde wrote:

> Hello,
>
> While reading the documentation, I didn't find the answer to my
> problem. I'm advocating the use of Subversion + TortoiseSVN at my
> client, with success, but the people come to me with specific
> questions that I need to answer.
>
> One of these questions is that sometimes a user wants to help a
> co-worker in the field with the latest updates and therefor send a
> patch from the latest revisions. The co-worker in the field would be
> able to identify the last updates he already has and request a patch
> for certain revisions.
>
> I've already found a way to create a patch of changes that have not
> been committed yet, and I also found that it's easy to create a
> unified diff by using the Merge tool, but this one eludes me. If I can
> succesfully create a unified diff from selected revisions, how does
> this co-worker apply them? I see the unified diff has filename
> comments describing the repository and revision number the files are
> coming from. Does the Merge tool ignore these comments? My initial
> test doesn't work.
>
> If you would be so kind as to place my email in CC, as I don't always
> have the time to browse through these archives.
>
> Kind regards,
>
> Dave

Whilst its OK to create a patch using the menu "Create Patch", the last
time I used it that method did not include newly added folders and files
so it becomes necessary to commit the changes and use the Merge dialog
to create the patch. Obviously the merge dialog needs to be given the
range of revisions from which the patch will be built and a file
destination.

The "Apply patch" command on explorer's context sensitive menu will take
a patch file so generated and does produce a full set of changed file(s)
in a folder hierarchy. I think there is an issue to with patching not
deleting folders but read the svn and TortoiseSVN manuals on the issue
to be sure.

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

--
Received on Fri Oct 28 19:44:09 2005

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