• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28287 (tree)
Time2018-07-13 23:31:13
Authorstefankueng

Log Message

Only swap the revisions if they're numbers or HEAD.

Change Summary

Incremental Difference

--- trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28286)
+++ trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28287)
@@ -1171,10 +1171,9 @@
11711171 return;
11721172 m_endrev = dlg.GetEndRevision();
11731173 m_startrev = dlg.GetStartRevision();
1174- if (((m_endrev.IsNumber())&&(m_startrev.IsNumber()))||
1175- (m_endrev.IsHead()||m_startrev.IsHead()))
1174+ if ((m_endrev.IsNumber() || m_endrev.IsHead()) && (m_startrev.IsNumber() || m_startrev.IsHead()))
11761175 {
1177- if (((LONG)m_startrev < (LONG)m_endrev)||
1176+ if (((svn_revnum_t)m_startrev < (svn_revnum_t)m_endrev)||
11781177 (m_endrev.IsHead()))
11791178 {
11801179 auto temp = m_startrev;
Show on old repository browser