Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900964

[webrev] Option -f does not generate diffs for files whose path happens to contain the name of their repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • tools
    • None


      Symptom:
      -------------------------------------------------------

      $ webrev -f
       No outgoing, perhaps you haven't commited.
       File list from hg tstatus -mard ... Done.
            Workspace: dk9-dev.2
            Output to: jdk9-dev.2/webrev
         Output Files:
      abort: cannot follow file not in parent revision:
      "src/share/classes/com/sun/corba/se/impl/io/OutputStreamHook.java"
      src/share/classes/com/sun/corba/se/impl/io/OutputStreamHook.java
                      *** Error: file not in parent or child
      [...]

           index.html: abort: cannot follow file not in parent revision:
      "src/share/classes/com/sun/corba/se/impl/io/OutputStreamHook.java"

      -----------------------------------------------------

      The issue here is that the file path:
      src/share/classes/com/sun/corba/se/impl/io/OutputStreamHook.java
                                                 ^^^^^
      happens to contain 'corba' which is also the name of the repo in which the file is checked in.

      The same error can be observed with files under src/share/classes/jdk/... in the 'jdk' repo.

            dfuchs Daniel Fuchs
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: