mercurial/commands.py
changeset 7850 74c3baca65c9
parent 7848 89e05c02a4af
child 7874 d812029cda85
child 8041 87c5a4af0b5a
equal deleted inserted replaced
7849:d5662e939893 7850:74c3baca65c9
   329         commandpath = util.find_exe(command)
   329         commandpath = util.find_exe(command)
   330         changesets = 1
   330         changesets = 1
   331         try:
   331         try:
   332             while changesets:
   332             while changesets:
   333                 # update state
   333                 # update state
   334                 status = os.spawnl(os.P_WAIT, commandpath)
   334                 status = os.spawnl(os.P_WAIT, commandpath, commandpath)
   335                 if status == 125:
   335                 if status == 125:
   336                     transition = "skip"
   336                     transition = "skip"
   337                 elif status == 0:
   337                 elif status == 0:
   338                     transition = "good"
   338                     transition = "good"
   339                 # status < 0 means process was killed
   339                 # status < 0 means process was killed