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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • 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.

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

              Created:
              Updated: