How to swap Mercurial Queues in and out of a repository

后端 未结 3 2055
说谎
说谎 2021-02-03 12:03

I have a platform neutral mercurial code repo called \"Simulator\"

and want to apply patches that target specific platform\'s optimizations before a build.

Acc

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-03 12:46

    To make an equivalent Windows alias for "mq", create a batch file in the same directory as "hg.exe" (e.g., "C:\Program Files\TortoiseHg"), name it "mq.cmd", and paste this code:

    @echo off
    FOR /F "tokens=1 delims=" %%A in ('hg root') do SET hgRoot=%%A
    hg -R %hgRoot%/.hg/patches %1 %2 %3 %4 %5 %6 %7 %8 %9
    

提交回复
热议问题