Pull behaviour using branches with bookmarks

Alexander Schatten ml_alexanderschatten at gmx.at
Fri Jan 28 12:42:31 CST 2011


-------- Original-Nachricht --------
> You provided a fine script but it didn't show the output, so the exact 
> problem hasn't been shown on the list.
> 

All right, here is the output: Version (1) before pull, hg update feature, and the output is as desired and as expected:


o  Änderung:        5:28edc78fbfcd
|  Marke:           main
|  Marke:           tip
|  Vorgänger:       3:3025126edf32
|  Nutzer:          User A
|  Zusammenfassung: second line in a
|
| o  Änderung:        4:eb767dee752d
| |  Marke:           feature
| |  Vorgänger:       2:5d9c0093b169
| |  Nutzer:          User B
| |  Zusammenfassung: added b.txt
| |
@ |  Änderung:        3:3025126edf32
| |  Vorgänger:       1:4ffa1c7d7ebe
| |  Nutzer:          User A
| |  Zusammenfassung: added d.txt
| |
| o  Änderung:        2:5d9c0093b169
|/   Nutzer:          User B
|    Zusammenfassung: added b.txt
|
o  Änderung:        1:4ffa1c7d7ebe
|  Nutzer:          User A
|  Zusammenfassung: one line in a
|
o  Änderung:        0:e17f30d8bad7
   Nutzer:          User A
   Zusammenfassung: added a.txt


-----------------------------------------------

now, the second option, Version (2): hg update feature before pull, and result is (1) not as desired or expected and even worse, different from the upper result which should NOT be the behaviour of pull in my understanding, this being a significant bug, I believe:

o  Änderung:        5:e9c6c320adf1
|  Marke:           feature
|  Marke:           tip
|  Vorgänger:       3:5770ee8cdd5e
|  Nutzer:          User A
|  Zusammenfassung: second line in a
|
| @  Änderung:        4:ff2885b90da8
| |  Vorgänger:       2:aba4cc131597
| |  Nutzer:          User B
| |  Zusammenfassung: added b.txt
| |
o |  Änderung:        3:5770ee8cdd5e
| |  Marke:           main
| |  Vorgänger:       1:803c1eefa33e
| |  Nutzer:          User A
| |  Zusammenfassung: added d.txt
| |
| o  Änderung:        2:aba4cc131597
|/   Nutzer:          User B
|    Zusammenfassung: added b.txt
|
o  Änderung:        1:803c1eefa33e
|  Nutzer:          User A
|  Zusammenfassung: one line in a
|
o  Änderung:        0:3609a54e4a12
   Nutzer:          User A
   Zusammenfassung: added a.txt



cheers,


Alex


More information about the Mercurial mailing list