Jump to content

Syntax for P4IGNORE entry to ignore symbolic link folders

ignores p4ignore symbolic link reconcile symlink

  • Please log in to reply
1 reply to this topic

#1 PaulD



  • Members
  • Pip
  • 1 posts

Posted 25 September 2019 - 12:07 PM

Helo, Perforce Community.

We have couple of symbolic links to directories in our perforce depot.
Those links are created on the client correctly and show symbolic link folders in Windows explorer and correct view in P4V client.
But if we run reconcile on the folder above we see those items shown as edited items.
We have tried to use .p4ignore.txt but this seems to have no effect on symlink files.

We have a folder structure like
- src
- - Common
- - Client
- - Other

where Common is a symlink folder to other location.

We have created .p4ignore.txt with following content:

# Symbolic links [as are always updated with the content]


in folder src above.
But the folder is still shown as being changed in reconcile.

We have tried different permutations:

but without any success.

What would be the correct syntax in .p4ingore.txt to ignore the changes due to symlink folder created on the disk compared to depot structure.

Best Regards

#2 Sambwise


    Advanced Member

  • Members
  • PipPipPip
  • 976 posts

Posted 27 September 2019 - 02:21 PM

P4IGNORE only applies to "new" files (i.e. files you don't want to add to source control at all) and doesn't apply to modifications you make to files you've already added.

When you run reconcile and it opens the symlinks for edit, what do you see as the diffs?  If you submit the files, are they changed?  Does "verify -q" show the symlinks as being "BAD!"?

Also tagged with one or more of these keywords: ignores, p4ignore, symbolic, link, reconcile, symlink

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users