Jump to content


search for a text across peforce version of a file

search

  • Please log in to reply
1 reply to this topic

#1 deepsom

deepsom

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 09 January 2015 - 08:23 PM

when we are looking at a code, often time you wonder who added this code and when. Is there anyway to search for a text across perforce version of a file (including integration/merge) and really find out when was the first time that code was added.

#2 P4Sam

P4Sam

    Advanced Member

  • Members
  • PipPipPip
  • 484 posts
  • LocationSan Francisco, CA

Posted 09 January 2015 - 09:44 PM

Use "p4 annotate -I": http://www.perforce....-i-going-deeper

That should tell you the original change that added each line of a particular file, across all branches.





Also tagged with one or more of these keywords: search

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users