bug#20137: number of generation doesn't always rise monotonically

2015-03-18 Thread Thompson, David
On Wed, Mar 18, 2015 at 4:47 PM, Taylan Ulrich Bayırlı/Kammer wrote: > l...@gnu.org (Ludovic Courtès) writes: > >> 2. Upon rollback from P to N, keep all the generations, but use P+1 >> for the next generation number. Doesn’t work, because rolling back >> from P+1 would bring you back

bug#20137: number of generation doesn't always rise monotonically

2015-03-18 Thread Taylan Ulrich Bayırlı/Kammer
l...@gnu.org (Ludovic Courtès) writes: > 2. Upon rollback from P to N, keep all the generations, but use P+1 > for the next generation number. Doesn’t work, because rolling back > from P+1 would bring you back to P instead of N. Perhaps we can eventually move to an actual tree struct

bug#20137: number of generation doesn't always rise monotonically

2015-03-18 Thread Ludovic Courtès
Tomáš Čech skribis: > 1] install some package (you'll have N and N+1) > 2] install some other package (you'll have N, N+1 and N+2) > 3] delete generation N+1 (you'll have N and N+2) > 4] switch to generation N > 5] install some package - you'll get generation N+1 again > (you'll have N, N+1 and

bug#20137: number of generation doesn't always rise monotonically

2015-03-18 Thread Tomáš Čech
Generation number is not always the maximum of all generation numbers and so generation number is not always monotonic. Steps to reproduce: Lets start with on generation N. 1] install some package (you'll have N and N+1) 2] install some other package (you'll have N, N+1 and N+2) 3] delete gener