Re: Source control: Scanning for changes



On Thu, Jul 2, 2009 at 1:12 AM, Stephen Kennedy<stevek gnome org> wrote:
>> If I'm in a directory managed by source control and I type 'meld .' at
>> the command line, I find that meld seems to scan the entire directory
>> structure (starting from the repo root even if I'm in a subdirectory)
>> looking for changes. Two questions:
>>
>> 1) Why does meld scan from root every time? Should it not just scan
>> starting from the directory it was invoked from?
>
> Hi Edwin, in previous versions the behavior was as you would expect
> (you just see from the subdirectory down). The vc plugins have been
> tidied and refactored in 1.3 and this must have slipped in.

I'll have a look at this

> I've attached a hack which works-for-me. In the meanwhile can you
> open a bug?

Care to share the hack ?

>> 2) Why does meld manually scan for changes when it can rely on the
>> source control itself (e.g. svn st or hg st) to get a list of files?
>
> I don't understand this one, meld generally parses the vc status command
> output to detect file states.

Meld scans all of the tree recursively, even if only one file is checked
out/modified, this can be very long...

-- 
Vincent Legoll


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]