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()
11211121 if (br.created && !br.marks .isEmpty () && br.marks .last ()) {
11221122 parentmark = br.marks .last ();
11231123 } 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+ }
11261129 br.created = revnum;
11271130 }
11281131 br.commits .append (revnum);
You can’t perform that action at this time.
0 commit comments