bzr push should not work by default if there are uncommited changes
Bug #65286 reported by
Tim Penhey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
I just came across this while working.
bzr push came back with:
0 revision(s) pushed.
Obviously what I wanted to do was push changes (which were still uncommitted).
So needed to commit first. Just suggesting that perhaps by default push should fail if there is uncommitted work.
I can't think of any situations where you would want to push a branch while there is uncommitted work, but someone may - perhaps forcable with --force.
Related branches
lp://staging/~vila/bzr/284038-push-strict
- John A Meinel: Approve
- bzr-core: Pending requested
- Diff: 155 lines
lp://staging/~vila/bzr/integration
- Vincent Ladeuil: Approve
-
Diff: 31 lines (+4/-4)2 files modifiedbzrlib/lazy_regex.py (+3/-3)
doc/en/release-notes/bzr-2.7.txt (+1/-1)
Changed in bzr: | |
importance: | Undecided → Wishlist |
status: | Unconfirmed → Confirmed |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 1.17 |
status: | In Progress → Fix Committed |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See also bug 206577 asking for this to be done for bzr send, and mysql bug 322808.