1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Angel Ezquerra  committed f410c50

filedata: Show info about the previous subrepo revision for removed subrepos.

  • Participants
  • Parent commits 2b98c77
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/filedata.py

View file
                     elif not sto:
                         sstatedesc = 'removed'
                         out.append(_('Subrepo removed from repository.') + u'\n\n')
+                        out.append(_('Previously the subrepository was '
+                                     'at the following revision:') + u'\n\n')
+                        subinfo = getLog(_ui, srepo, {'rev': [sfrom]})
+                        slog = hglib.tounicode(subinfo)
+                        out.append(slog)
                         return out, sstatedesc
                     elif sfrom == sto:
                         sstatedesc = 'unchanged'