Re: Version control directory meld across several modules?



On 26 October 2010 22:53, Tom Dalton <tom dalton openbet com> wrote:
> Hi,
>
> Is it possible to start up meld with multiple CVS modules being
> directory-compared?
>
> E.g. in my working dir I have proj1 and proj2. They are effectively
> totally different projects. I can achieve what I want by running
>
> meld proj1
>
> When meld appears, I go file->new->version control browser and select
> proj2. I now have 2 separate tabs with different directory comparisons
> in each, both against the CVS branch for proj1 and 2 respectively.
>
> I now want to be able to script this, so that I can automatically bring
> up the directory comparisons for many modules. I can't find a way to do
> this on the command line, running
>
> Running "meld proj1 proj2" causes meld to try to directly difference the
> two directories, but the are completely unrelated. Running meld once per
> directory difference is possible, but I don't really want to run many
> instances.

I think what you want is:
  meld --diff proj1 --diff proj2

The --diff flag takes a variable number of arguments and treats them
in the same way as normal extra arguments, adding each set parsed as a
new tab.

cheers,
Kai


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