tests/test-chg.t
branchstable
changeset 50431 c2a1f8668606
parent 50098 889d2a2e9326
child 50725 7e5be4a7cda7
equal deleted inserted replaced
50430:d06e43cd393f 50431:c2a1f8668606
   551   $ filteredchg log -r .
   551   $ filteredchg log -r .
   552   Sample count: * (glob)
   552   Sample count: * (glob)
   553   $ filteredchg log -r . --no-profile
   553   $ filteredchg log -r . --no-profile
   554   $ filteredchg log -r .
   554   $ filteredchg log -r .
   555   Sample count: * (glob)
   555   Sample count: * (glob)
       
   556 
       
   557 chg setting CHGHG itself
       
   558 ------------------------
       
   559 
       
   560 If CHGHG is not set, chg will set it before spawning the command server.
       
   561   $ hg --kill-chg-daemon
       
   562   $ HG=$CHGHG CHGHG= CHGDEBUG= hg debugshell -c \
       
   563   >   'ui.write(b"CHGHG=%s\n" % ui.environ.get(b"CHGHG"))' 2>&1 \
       
   564   >   | egrep 'CHGHG|start'
       
   565   chg: debug: * start cmdserver at * (glob)
       
   566   CHGHG=/*/install/bin/hg (glob)
       
   567 
       
   568 Running the same command a second time shouldn't spawn a new command server.
       
   569   $ HG=$CHGHG CHGHG= CHGDEBUG= hg debugshell -c \
       
   570   >   'ui.write(b"CHGHG=%s\n" % ui.environ.get(b"CHGHG"))' 2>&1 \
       
   571   >   | egrep 'CHGHG|start'
       
   572   CHGHG=/*/install/bin/hg (glob)