File contents are not updated when a revision also renames the file
Bug #270219 reported by
Kevin Mehall
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr Upload plugin |
Fix Released
|
High
|
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://
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"
Changed in bzr-upload: | |
importance: | Undecided → High |
status: | New → Triaged |
To post a comment you must log in.
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.