File contents are not updated when a revision also renames the file

Bug #270219 reported by Kevin Mehall on 2008-09-14
Affects Status Importance Assigned to Milestone
bzr Upload plugin
Vincent Ladeuil

Bug Description

When a revision both renames a file and modifies it, bzr upload will rename the file on the server, but doesn't upload the changed file content.

$ echo "Test1" > file.txt

$ bzr add file.txt
added file.txt

$ bzr commit
Committing to: /tmp/bzr-test/
added file.txt
Committed revision 1.

$ bzr upload sftp://xxx
No uploaded revision id found, switching to full upload
Uploading file.txt

$ bzr mv file.txt test.txt
file.txt => test.txt

$ echo "Test2" >> file.txt

$ bzr commit
Committing to: /tmp/bzr-test/
modified and renamed file.txt => test.txt
Committed revision 2.

$ bzr upload
Renaming file.txt to test.txt

# The file on the server is now named test.txt, but still contains only the line "Test1"

Vincent Ladeuil (vila) on 2008-09-16
Changed in bzr-upload:
importance: Undecided → High
status: New → Triaged
Vincent Ladeuil (vila) wrote :

Thanks for the report.

The bug is now fixed in the trunk.

To catch up, you will need to do a full upload of your branch. Sorry for the inconvenience.

Changed in bzr-upload:
assignee: nobody → vila
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers