You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Patrik Rak <pa...@mindwarestudios.com> on 2006/02/10 09:21:48 UTC

Output of diff is not sorted?

Hi!

Isn't the svn diff supposed to output the diffed files in a sorted order?
I guess it is, but for some reason it doesn't work for here.

For example, here is the order of the files I get after I run

svn diff svn://svn/src/tags/branch_x_base/meng svn://svn/src/branches/branch_x/meng

(note that locale.* was renamed to locales.* in the branch):

src/meng/core/locale.inline
src/meng/core/locale.h
src/meng/core/locale.cpp
src/meng/core/dictionary_server.h
src/meng/core/string_object_print.cpp
src/meng/core/resource_loader.cpp
src/meng/core/dictionary.cpp
src/meng/core/locales.inline
src/meng/core/resource_list.cpp
src/meng/core/locales.cpp
src/meng/core/dictionary.inline
src/meng/core/resource_list.h
src/meng/core/locales.h
src/meng/storage/save_manager_xbox.cpp
src/meng/video/video_xbox.cpp
src/scripts/constants/constants_includes.h
src/libs/io/utility_manager_xbox.cpp

As you can see, neither the files in core/ nor the directories under src/ are 
properly sorted... This makes reading the diff quite difficult, as the related 
files are scattered all around.

I use 1.2.3 at the moment, but 1.3 release notes did not mention this issue 
either, so I assume it hasn't changed...

Any ideas?

Patrik

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

Re: Output of diff is not sorted?

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 2/10/06, Patrik Rak <pa...@mindwarestudios.com> wrote:
> Hi!
>
> Isn't the svn diff supposed to output the diffed files in a sorted order?
> I guess it is, but for some reason it doesn't work for here.
>
> For example, here is the order of the files I get after I run
>
> svn diff svn://svn/src/tags/branch_x_base/meng svn://svn/src/branches/branch_x/meng
>
> (note that locale.* was renamed to locales.* in the branch):
>
> src/meng/core/locale.inline
> src/meng/core/locale.h
> src/meng/core/locale.cpp
> src/meng/core/dictionary_server.h
> src/meng/core/string_object_print.cpp
> src/meng/core/resource_loader.cpp
> src/meng/core/dictionary.cpp
> src/meng/core/locales.inline
> src/meng/core/resource_list.cpp
> src/meng/core/locales.cpp
> src/meng/core/dictionary.inline
> src/meng/core/resource_list.h
> src/meng/core/locales.h
> src/meng/storage/save_manager_xbox.cpp
> src/meng/video/video_xbox.cpp
> src/scripts/constants/constants_includes.h
> src/libs/io/utility_manager_xbox.cpp
>
> As you can see, neither the files in core/ nor the directories under src/ are
> properly sorted... This makes reading the diff quite difficult, as the related
> files are scattered all around.
>
> I use 1.2.3 at the moment, but 1.3 release notes did not mention this issue
> either, so I assume it hasn't changed...

This is a known problem, and there are some patches floating around
that correct it to varying degrees.  Hopefully they will be committed
in time for 1.4.x.

-garrett

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