Reputation: 483
I am looking for command which will retrieve the result whether file inside a perforce work space is synced with given label. I searched on net and found commands like:
p4 sync -n @labelname
p4 files @labelname
p4 labels
But none of them is serving my purpose.
So, please help me out and suggest how I can check weather file in Perforce work space is in sync with given label or not.
Upvotes: 1
Views: 616
Reputation: 3249
is close, except you haven't specified the file path. Please use p4 sync -n @labelname
p4 sync -n [PATH]@labelname
, e.g. p4 sync -n ...@labelname
.
If you're synced, the output will be ...@labelname - file(s) up-to-date.
.
Upvotes: 1