hgext/infinitepush/__init__.py
changeset 39826 c31ce080eb75
parent 38164 aac4be30e250
child 40252 090e5f3900b7
equal deleted inserted replaced
39825:874712506b07 39826:c31ce080eb75
  1180         nodesargs.append(node)
  1180         nodesargs.append(node)
  1181     with open(os.devnull, 'w+b') as devnull:
  1181     with open(os.devnull, 'w+b') as devnull:
  1182         cmdline = [util.hgexecutable(), 'debugfillinfinitepushmetadata',
  1182         cmdline = [util.hgexecutable(), 'debugfillinfinitepushmetadata',
  1183                    '-R', root] + nodesargs
  1183                    '-R', root] + nodesargs
  1184         # Process will run in background. We don't care about the return code
  1184         # Process will run in background. We don't care about the return code
  1185         subprocess.Popen(cmdline, close_fds=True, shell=False,
  1185         subprocess.Popen(pycompat.rapply(procutil.tonativestr, cmdline),
       
  1186                          close_fds=True, shell=False,
  1186                          stdin=devnull, stdout=devnull, stderr=devnull)
  1187                          stdin=devnull, stdout=devnull, stderr=devnull)