Bazaar should cleanly handle added files that are identical to existing unversioned files
Bug #90569 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
I saw this today:
lrwxrwxrwx 1 mark mark 32 2007-03-08 06:48 mechanize -> ../sourcecode/
lrwxrwxrwx 1 mark mark 32 2007-03-03 15:16 mechanize.moved -> ../sourcecode/
the backstory is that I needed to add that symlink to make things work on Feisty so I did, but left it unversioned then someone added an identical symlink to the tree when i merged, i got a conflict. i would understand that if the unversioned symlink I added was different to the new, versioned one, but in fact they are identical.
imo this should "Just Work" - bzr should see the added symlink is identical to the unversioned one there, and "merge cleanly"
Changed in bzr: | |
importance: | Undecided → Medium |
Changed in bzr: | |
status: | Unconfirmed → Confirmed |
tags: | added: conflicts |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | removed: check-for-breezy |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark Shuttleworth wrote:
> the backstory is that I needed to add that symlink to make things work on Feisty so I did, but left it unversioned then someone added an identical symlink to the tree when i merged, i got a conflict. i would understand that if the unversioned symlink I added was different to the new, versioned one, but in fact they are identical.
> imo this should "Just Work" - bzr should see the added symlink is identical to the unversioned one there, and "merge cleanly"
This is certainly possible in principle. It probably requires a new way get_content_ hash()
to get the SHA1 or symlink target of mechanize, i.e.
TreeTransorm.
We should also consider whether reverting in your scenario should delete
the symlink, and, if not, how to prevent it.
Aaron enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFF8Bti0F+ nu1YWqI0RAp9fAJ 0bTsCY/ 0ztqHYKub6yWZQF VWzwWgCfZX4p cbuV1uAc=
qiWRQ4xEMUFtPkJ
=dcCx
-----END PGP SIGNATURE-----