I am trying to use the Perfarce extension for Mercurial to create an hg repository (working copy) that is controlled by mercurial, with a link to register and log in to the central peroce depot.
The tooltip says to enter a command like this:
hg clone p4: // hostname: portnumber / userid
When I do this, it creates a folder under my current working directory with the username (so it seems like a suboptimal way to pass the username to the p4 URL), and I get this error:
abort: p4: ... - should create a client user identifier for accessing local files.
The second attempt failed with the destination, and not an empty error.
I also tried to indicate the destination:
hg clone p4: // hostname: portnumber / userid dest
This does not work either - the same error message about creating a client. I see no way to tell about my WORKSPACE, if any, or in which depot, on a specific hostname, to check.
I already have a WORKSPACE that p4 and p4v are aware of, and this is in a different folder than where I would like to have a working copy of hg + perfarce. I suspect that the p4 command-line program might be confused by this.
Has anyone got the "perfarce" extension working with mercurial? What did you do exactly and what am I doing wrong and don’t understand?
source
share