comparison mainwindow.cpp @ 347:987a094047c9

Ensure a full log happens on first commit to an empty repo (otherwise we don't get the state updated properly)
author Chris Cannam
date Wed, 16 Mar 2011 10:46:10 +0000
parents 98cf46fb74c1
children 076c2b3de51b
comparison
equal deleted inserted replaced
346:98cf46fb74c1 347:987a094047c9
1959 } 1959 }
1960 } 1960 }
1961 break; 1961 break;
1962 1962
1963 case ACT_COMMIT: 1963 case ACT_COMMIT:
1964 if (m_currentParents.empty()) {
1965 // first commit to empty repo
1966 m_needNewLog = true;
1967 }
1964 m_hgTabs->clearSelections(); 1968 m_hgTabs->clearSelections();
1965 m_justMerged = false; 1969 m_justMerged = false;
1966 m_shouldHgStat = true; 1970 m_shouldHgStat = true;
1967 break; 1971 break;
1968 1972