mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
- Write out branches with the highest revision number first if they have the
same date.
This commit is contained in:
parent
0b73a70cd9
commit
8b5125bdfe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/csup_cvsmode/; revision=186724
@ -490,7 +490,7 @@ rcsfile_write_deltatext(struct rcsfile *rf, struct stream *dest)
|
||||
}
|
||||
|
||||
d_tmp2 = LIST_FIRST(&branchlist_datesorted);
|
||||
if (rcsnum_cmp(d_tmp->revdate, d_tmp2->revdate) < 0) {
|
||||
if (rcsnum_cmp(d_tmp->revdate, d_tmp2->revdate) <= 0) {
|
||||
LIST_INSERT_BEFORE(d_tmp2, d_tmp,
|
||||
branch_next_date);
|
||||
continue;
|
||||
@ -498,7 +498,7 @@ rcsfile_write_deltatext(struct rcsfile *rf, struct stream *dest)
|
||||
while ((d_tmp3 = LIST_NEXT(d_tmp2, branch_next_date))
|
||||
!= NULL) {
|
||||
if (rcsnum_cmp(d_tmp->revdate, d_tmp3->revdate)
|
||||
< 0)
|
||||
<= 0)
|
||||
break;
|
||||
d_tmp2 = d_tmp3;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user