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

Re: Subversion version 1.7.0-dev and new svn patch command

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Mon, 8 Feb 2010 16:55:24 +0100

On Monday 08 February 2010, Stefan Sperling wrote:
[...]
> There has also been talk among developers to implement "true" offline
> commits in wc-ng (stored directly within the working copy meta data).
> So it may be that implementing patch queues won't be necessary. We'll see.

Cool, thanks for all the info!

> > 2. Target being a non-working copy.
> > I don't remember where I wanted to use this one, I believe I wanted to
> > apply changes I made to an SVN vendor branch to a (non-versioned) release
> > of that vendor or to some code in a completely different VCS.
>
> Why not use the normal patch command then?

Lazyness. Perhaps also because patch can't handle a few SVN-specific things
like tree changes or diffs in non-text files, at least not as well as SVN
does.

> We're not trying to replace the normal patch command. We're creating an
> augmented patch implementation for use with svn working copies.
> svn patch is geared towards svn working copies. E.g. it won't know how
> to add or delete files in a working copy of a different VCS, so it does
> not offer any benefits over the traditional patch command for this use
> case.

Well, even if it doesn't know how to tell the VCS about the added file, it
could at least add/delete/move the file and leave the rest to the user. I
don't expect SVN to do all work for me, but if it can apply a patch to a
working copy, why not to a non-working copy if the user asks for it? Yes, I
can probably do the same by piping "svn diff" into "patch", but firstly I
don't always have patch, secondly I can never remember its syntax and thirdly
it is of limited use sometimes.

Thank you!

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2010-02-08 16:56:03 CET

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

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