Jump to content


Path xxx is not under client's root

p4ruby p4api

  • Please log in to reply
No replies to this topic

#1 apl.matumoto@gmail.com

apl.matumoto@gmail.com

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 04 June 2016 - 03:30 PM

Hi,

I got a error saying
> Path "xxx" is not under client's root "BBB"

The situation is root of "xxx" is symbolic link to "BBB" and they differs.
(e.g. xxx is recognized as /home/matu/linked_workarea/trunk/dev00  but
clients root "BBB" is "/home/matu/actual_workarea
)

To avoid this, I learned to use -d option to specify directory.
But I am not sure how to give "-d" in perforce API.
For example, neither
p4.run("fstat ", "-d ...") 
nor
p4.run("-d fstat", "...")

does not work.

How to specify "-d" in API?

My environment is
UNIX%> P4.identify
Version of OpenSSL Libraries: OpenSSL 1.0.1g 7 Apr 2014
Rev. P4RUBY/LINUX26X86_64/2014.1/846327 (2014.1/821990 API) (2014/05/08).
and works on CentOS6


Thanks,





Also tagged with one or more of these keywords: p4ruby, p4api

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users