P4 diff on recent versions of Perforce does not produce the unified diff header we expect, even with the correct flags

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 3.4.0, 3.3.2
    • Affects Version/s: None
    • Component/s: None
    • None

      On 2013.1/685046, p4 diff -dcu produces a patch file with the header:

      ==== //depot/foo/f.txt#1 - /Users/tdavies/tmp/p4test/foo/f.txt ====
      @@ -1,1 +1,2 @@
      

      But on 2013.3/784164, the same command line produces:

      --- //depot/foo/bar.ipr 2013-12-23 18:36:46.000000000 -0800
      +++ /webdev/foo/bar.ipr 2013-12-23 18:36:46.000000000 -0800
      @@ -204,7 +204,7 @@
      

      I am not sure exactly which version of Perforce introduced the change.

              Assignee:
              Tom Davies
              Reporter:
              Tom Davies
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 10m
                  10m