Re: [p4] P4IGNORE working but not?

Tsaukpaetra <[email protected]> Wed, 7 Feb 2018 11:50:01 -0800
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'Tsaukpaetra'.



[https://forums.perforce.com/index.php?app=forums&module=forums&section=findpost&pid=23003]
Sambwise, on 2018/02/07 19:42:50 UTC, said:
>    The "currently opened for add" means that the file was already opened for add before you ran that command.  Could it have been opened for add before you put the .p4ignore file in place?  What happens if you revert and then retry the "p4 add"?
>     
Maagic?

root@bobthebuilder:/usr/local/jenkins # p4 -p perforce:1666 -c jenkins-config
revert fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml
//depot/Jenkins/fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml#none - was
add, abandoned root@bobthebuilder:/usr/local/jenkins # p4 -p perforce:1666 -c
jenkins-config add fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml
//depot/Jenkins/fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml#1 -
currently opened for add root@bobthebuilder:/usr/local/jenkins # p4 -p
perforce:1666 -c jenkins-config revert
fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml
//depot/Jenkins/fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml#none - was
add, abandoned root@bobthebuilder:/usr/local/jenkins # p4 -p perforce:1666 -c
jenkins-config add fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml
//depot/Jenkins/fingerprints/ed/67/51df02fe57e33252403aa35ec215.xml#1 - opened
for add   
I scoured the docs and eventually came up with the following line:

/fingerprints/**   
and *that* works, But I'm not sure why the previous one doesn't work...



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5618-p4ignore-working-but-not
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user