rebase --dry-run prints nothing

Bug #457586 reported by GuilhemBichot on 2009-10-21
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

I have revno 168. "bzr rebase --dry-run" should, according to "bzr help rebase", "Show what would be done, but don't actually do anything". In the testcase below, without --dry-run it does some rebasing, but with --dry-run it prints nothing - it does not show what would be done.

rm -rf test
mkdir test
cd test

# create main branch

bzr init br1
cd br1
echo 1 > foo
bzr add .
bzr commit -m r1

# I create a branch from it for my work
bzr branch . ../br2
cd ../br2
echo 2 >> foo
bzr commit -m r2

# meanwhile, another person commits and pushes into main
cd ../br1
echo 3 > bar
bzr add bar
bzr commit -m r3

# let me rebase my branch
cd ../br2
bzr rebase --dry-run ../br1

Jelmer Vernooij (jelmer) wrote :

It's only really useful with -v at the moment. I guess we could make verbose default to true if dry-run is specified, but a true dry-run would probably be too hard.

Changed in bzr-rewrite:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers