I am trying to use mercurial and perfarce extension to check and get error

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?

+3
source share
3 answers

Perforce, Perfarce. . Perfarce

hg clone [--startrev REV] [-r REV] [p4://server/clientname] [dest]

, , . , . d:\foo, Perfarce d:\ foo. dest Perfarce .

Perforce , MakeWriteable.

+3

, "p4 client", , p4. hg- .

, , p4 hg clone , , .

+1

I am also new to Perfarce, but I found that I need to use it p4 login, even if it is not required for my P4 server. Perfarce does not seem to recognize the P4 configuration files configured with P4CONFIG.

0
source

Source: https://habr.com/ru/post/1758265/


All Articles