subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Phippard <markp...@gmail.com>
Subject Re: Checking for merge updates with "svn status -u -g"
Date Wed, 09 May 2012 13:43:00 GMT
On Wed, May 9, 2012 at 9:40 AM, Stefan Sperling <stsp@elego.de> wrote:
> On Wed, May 09, 2012 at 09:32:05AM -0400, James Hanley wrote:
>> When creating a branch, it would be very useful if merge data could
>> optionally be included in svn status -u with the -g option.
>> Essentially, it would tell you if there are changes upstream from the
>> origination of the branch... I'm not entirely certain what the output
>> should look like, but it might indicate a table key of ancestry at the
>> top and a similar output to "svn status -u" with indication of where
>> the ancestry has the update yet to be merged:
>>
>> [a1 = /trunk]
>> [a2 = /branches/team_branch_base]
>> [a3 = /branches/userbob_feature_widget]
>>             *     517   ./hello.c
>> [a1]        *     507   ./world.c
>>             *     517   ./foo.h
>>             *            ./bar.h
>> [WC] M            569   ./dir
>> [WC] M            569   ./dir/file.c
>>
>> Thoughts?
>
> This command lists files that differ between branches, which may
> be a close match to what you're asking for:
>
>  svn diff --summarize BRANCH1_URL BRANCH2_URL
>
> You'd have to run it separately for each branch you're interested in.

I would probably go with:

$ svn mergeinfo --show-revs=eligible ^/source-branch

Some GUI tools, at least Subclipse, will show this info in log-style format.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Mime
View raw message