Hello, I am new to using git-p4 and have stumbled into a blocker when using 
the command "git p4 submit".

The situation is that I am using git-p4 to mirror a perforce stream and to 
allow developers to work in git rather than perforce.

When using "git p4 submit" the clientPath detected is not the root of the 
client workspace but rather one directory deeper. This causes a failure due 
to "file(s) not on client." as the git  changed file paths are not matching 
this offset client workspace.

The depot path: "//streamDepot/git_staging"

Output from git p4 submit: 
"Perforce checkout for depot path //streamDepot/git_staging located at 
~/streams/git_staging/projects" 
...
"projects/foo/bar.cpp - file(s) not on client."

Desired output: "Perforce checkout for depot path 
//streamDepot/git_staging located at ~/streams/git_staging/"
...


Confirmed that by modifying git-p4.py to cut the suffix directory 
"projects/" the submit works and the file paths match. I have tried to 
change my stream definition in perforce to resolve this with no success. 

Next step I will test the "def p4Where(depotPath)" implementation.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/8e3fc5c9-335b-4baa-b5b7-49d535f3de00n%40googlegroups.com.

Reply via email to