add back helpful --allow-downgrade err message

Closes: #1348
Approved by: cgwalters
This commit is contained in:
Dusty Mabe 2017-11-26 11:14:11 -05:00 committed by Atomic Bot
parent 162edf71ed
commit 682e5277f0
1 changed files with 1 additions and 1 deletions

View File

@ -2204,7 +2204,7 @@ _ostree_compare_timestamps (const char *current_rev,
g_autofree char *current_ts_str = g_date_time_format (current_dt, "%c");
g_autofree char *new_ts_str = g_date_time_format (new_dt, "%c");
return glnx_throw (error, "Upgrade target revision '%s' with timestamp '%s' is chronologically older than current revision '%s' with timestamp '%s'",
return glnx_throw (error, "Upgrade target revision '%s' with timestamp '%s' is chronologically older than current revision '%s' with timestamp '%s'; use --allow-downgrade to permit",
new_rev, new_ts_str, current_rev, current_ts_str);
}