Skip to content
  • Yuya Nishihara's avatar
    manifestmodel: fix subrepo status to compare to parent revision of main repo · 040fe18bc451
    Yuya Nishihara authored
    Because the statuses are displayed in the context of the main repository,
    it shouldn't show the changes from subrepo's parent revision.
    
    For example,
    
        M0 - M1 - M2  (main)
        :         :
        S0 ------ S1  (sub)
    
        rev  original  fixed
        ---  --------  --------
        @M2  S0::S1    S0::S1
        @M1  null::S0  S0::S0    <- wrong because M1 inclues no subrepo changes
        @M0  null::S0  null::S0
    040fe18bc451