Re: [PATCH] remote-bzr: fix for disappeared revisions

2013-05-07 Thread Junio C Hamano
Felipe Contreras writes: > On Tue, May 7, 2013 at 6:39 PM, Felipe Contreras > wrote: > >> + (cd gitrepo && >> + git fetch && >> + git log --format="%an %ad %s" --date=short origin/master > ../actual) && >> + >> + test_cmp actual expected > > Hmm: > > test_cmp expected actual Yeah, right. --

Re: [PATCH] remote-bzr: fix for disappeared revisions

2013-05-07 Thread Felipe Contreras
On Tue, May 7, 2013 at 6:39 PM, Felipe Contreras wrote: > + (cd gitrepo && > + git fetch && > + git log --format="%an %ad %s" --date=short origin/master > ../actual) && > + > + test_cmp actual expected Hmm: test_cmp expected actual -- Felipe Contreras -- To unsubscribe from this list: sen

[PATCH] remote-bzr: fix for disappeared revisions

2013-05-07 Thread Felipe Contreras
It's possible that the previous tip goes away, we should not assume it's always present. Fortunately we are only using it to calculate the progress to display to the user, so only that needs to be fixed. Also, add a test that triggers this issue. Signed-off-by: Felipe Contreras --- contrib/remo