dpush reverts added files

Bug #519382 reported by Levi Bard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned
Breezy
Won't Fix
Low
Unassigned

Bug Description

dpush reverts added, uncommitted files.

Steps to reproduce:
 * Branch from a foreign repository
 * Edit a versioned file
 * Add a new file
 * Commit only the edited file
 * bzr dpush

Expected result: The newly-added file is still in "Added" status.
Actual result: The newly-added file is now unknown.

Tags: dpush

Related branches

Revision history for this message
Levi Bard (taktaktaktaktaktaktaktaktaktak) wrote :

Bazaar (bzr) 2.0.3
  Python interpreter: /usr/bin/python 2.5.5
  Python standard library: /usr/lib/python2.5
  Platform: Linux-2.6.30-2-686-i686-with-debian-squeeze-sid

Revision history for this message
John A Meinel (jameinel) wrote :

I'll note that the default behavior for 'bzr dpush' is to refuse to operate when you have local changes. It is only if you manually disable 'strict' mode, either by supplying --no-strict or by setting 'dpush_strict = False' in your system configuration that you would run into this.

I certainly think it could be implemented as updating the working tree and preserving the content, but that may be difficult in the current layout.

Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Levi Bard (taktaktaktaktaktaktaktaktaktak) wrote :

Sure, and it currently keeps any /content/ changes in the working tree; it just reverts the statuses.

Jelmer Vernooij (jelmer)
tags: added: dpush
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Low
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Released
status: Fix Released → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.