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

Re: moved-to and moved-from in status output

From: Neels J Hofmeyr <neels_at_elego.de>
Date: Fri, 12 Aug 2011 22:11:03 +0200

On 08/12/2011 12:55 PM, Julian Foad wrote:
> Stefan Sperling wrote:
>> On Fri, Aug 12, 2011 at 08:33:43AM +0100, Julian Foad wrote:
>>> Neels J Hofmeyr wrote:
>>>> Hi stsp,
>>>>
>>>> check this WIP patch out, attached. (I've also appended a wild test script
>>>> that runs all sorts of things. Reading its bottom-most output may suffice.)
>>>>
>>>> I'd prefer printing the paths relative to the "current working dir" instead
>>>> of relative to the WC root (as this patch does now).
>>>
>>> +1, for consistency with other 'svn' output.

That comma makes all the difference :)

>>
>> If this is done for 'svn status' the same should be done for 'svn info'
>> which currently prints moved-from/-to relative the WC root as well.
> Ah, right, I should have spotted that. +1 to both.

Discussing 'svn info' output:

What do you think, for moved-here items, should we rename "Copied From URL"
and "Copied From Rev" to "Moved From *"? Leaving "Copied From *" as-is will
be confusing to the average user person...
#svn: "lol it says both copied and moved !?!1! Should be a tree conflict!1!"
Same discussion pending for --xml output.

We probably don't want to add a "Copied From Path" line: it's neither as
interesting nor as easy. A copy doesn't need to commit two paths in one, and
last time I checked we didn't store local paths for copied-from.

BTW, do we have any ambition to provide 'svn mv' using a URL source? :)

~Neels

Received on 2011-08-12 22:11:49 CEST

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