File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1121,8 +1121,11 @@ int FastImportRepository::Transaction::commit()
1121
1121
if (br.created && !br.marks .isEmpty () && br.marks .last ()) {
1122
1122
parentmark = br.marks .last ();
1123
1123
} else {
1124
- qWarning () << " WARN: Branch" << branch << " in repository" << repository->name << " doesn't exist at revision"
1125
- << revnum << " -- did you resume from the wrong revision?" ;
1124
+ if (revnum > 1 ) {
1125
+ // Any branch at revision 1 isn't going to exist, so lets not alarm the user.
1126
+ qWarning () << " WARN: Branch" << branch << " in repository" << repository->name << " doesn't exist at revision"
1127
+ << revnum << " -- did you resume from the wrong revision?" ;
1128
+ }
1126
1129
br.created = revnum;
1127
1130
}
1128
1131
br.commits .append (revnum);
You can’t perform that action at this time.
0 commit comments