webrev cannot detect file removal if a directory of a similar name is created

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      webrev cannot detect A.java removal if I create a new directory A/java. Try this script:

      mkdir x
      cd x
      hg init
      touch A.java
      hg commit -A -m 1
      hg rm A.java
      mkdir -p A/java
      touch A/java/x
      hg add
      hg st
      webrev.ksh

      It only shows A/java/x added.

      If the directory name is A/jav, webrev shows both A.java and A/jav/x.

            Assignee:
            Unassigned
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: