Index: hgext3rd/p4fastimport/p4.py =================================================================== --- hgext3rd/p4fastimport/p4.py +++ hgext3rd/p4fastimport/p4.py @@ -174,7 +174,8 @@ return helper() def get_latest_cl(client): - cmd = 'p4 --client %s -G changes -m 1 -s submitted' % ( + cmd = 'p4 --client %s -G changes -m 1 -s submitted //%s/...' % ( + util.shellquote(client), util.shellquote(client)) stdout = util.popen(cmd, mode='rb') parsed = marshal.load(stdout)