TortoiseHg Visual Diff Context Menu

behofmann behofmann at gmail.com
Mon Apr 6 15:58:38 CDT 2009


Steve,

I tried executing hg.exe bcomp <filename> from a command prompt and it just
returns the prompt.  It behaves the same as the Visual Diff context menu. 
Since you're not familiar with Beyond Compare 3, do you have a working setup
for the Visual Diff Context Menu that you use?  Could you share your
Mercurial.ini as an example?  I'm new to TortoiseHg and want to make sure
I'm setting up my Mercurial.ini correctly.

Another question, is it possible to have the revision count be specific to a
file change instead of keeping a running count of all changes?  For example:

file1.jsp ==> Revision 0, 1
file2.jsp ==> Revision 2, 3
file3.jsp ==> Revision 5

Would prefer:
file1.jsp ==> Revision 0, 1
file2.jsp ==> Revision 0, 1
file3.jsp ==> Revision 0

Thanks in advance for your help,

Brandon


behofmann wrote:
> 
> Steve,
> 
> I will experiment and see if I can manually run the BC3 command you
> mentioned.  I assume there isn't any special naming convention for Beyond
> Compare 3 as long as what you use is consistent throughout the
> Mercurial.ini.  Correct?  I've seen Mercurial.ini examples showing Beyond
> Compare 3 as BComp, BC3, and BeyondCompare3.
> 
> Thanks,
> 
> Brandon
> 
> 
> Steve Borho wrote:
>> 
>> On Mon, 2009-04-06 at 11:50 -0700, behofmann wrote:
>>> Steve,
>>> 
>>> Thanks for your reply.  I'm able to get Beyond Compare 3 to work by
>>> selecting it as the external diff tool from the log.  It launches a
>>> command
>>> window which then launches Beyond Compare with my selected files.  I
>>> assume
>>> that is the expected behavior?
>> 
>> That is expected behavior.  I'm in the middle of fixing the command
>> window problem for the next release.
>> 
>>> What I can't get to work is the Visual Diff on the TortoiseHg Context
>>> Menu
>>> which you get when right-clicking on a file name.  Do you have to select
>>> two
>>> files first then right-click on Visual Diff?  Am I doing something wrong
>>> with this implementation?
>> 
>> No, you shouldn't have to select more than a single file.  It sounds
>> like there's a problem with the way BC3 is being launched, but I don't
>> have this tool so I can't give much help.
>> 
>> When used from the shell context menu, TortoiseHg simply runs your
>> configured diff command.  If your Mercurial.ini looks like this:
>> 
>> [tortoisehg]
>> vdiff = bc3
>> 
>> The context menu will run:   hg.exe bc3 [files]
>> I suggest you try running that by hand and see if it works, and if not
>> perhaps that will be easier to debug than our context menu.
>> 
>> --
>> Steve Borho
>> 
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/TortoiseHg-Visual-Diff-Context-Menu-tp22899405p22917229.html
Sent from the Mercurial mailing list archive at Nabble.com.



More information about the Mercurial mailing list