Re: [PATCH] MultiVC don't show irrelevant repositories
- From: Kai Willadsen <kai willadsen gmail com>
- To: Vincent Legoll <vincent legoll gmail com>
- Cc: meld-list <meld-list gnome org>
- Subject: Re: [PATCH] MultiVC don't show irrelevant repositories
- Date: Tue, 24 Mar 2009 22:50:04 +0100
2009/3/23 Vincent Legoll <vincent legoll gmail com>:
<snip>
> Explanation:
> the introduction of the multivc code removed the default ordering function
> that was used before and which chose the repository with the longest
> repo.root. As some VC plugins walk from the proposed initial location
> to the root of the filesystem to find their repository root directories, we
> now find and propose repositories that are irrelevant to what has been
> asked by the user.
>
> Solution:
> In order to only propose multiple VCs in the same directory and not those
> upper in the filesystem, we should filter out those that don't have the
> longest repo.root. I.e. do like before, but keep multiple choices if there are.
I haven't tested the patch, but from the description of the behaviour,
this sounds perfectly sensible.
Kai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]