• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.9.1
    • 1.9.0
    • Git
    • None
    • OSX 10.9.2

      • Commit in one branch
      • Switch branches
      • Make change to a file
      • Click on "Working Copy"
      • Click in field to start a new commit

      Shows last commit branch

          Form Name

            [SRCTREE-2250] Commit view shows incorrect branch for commit

            Even though I can't reproduce your exact case, I've changed things so that updates in general always refresh the push option while it's open. Opening the commit pane always refreshes the push to branch.

            Steve Streeting (Inactive) added a comment - Even though I can't reproduce your exact case, I've changed things so that updates in general always refresh the push option while it's open. Opening the commit pane always refreshes the push to branch.

            The only way I can reproduce this is if I leave the commit box expanded while switching branches - this doesn't usually happen because when you commit the pane closes again, so if I follow your steps exactly, step 1 will have closed the commit pane so when I click the commit pane again after switching branches it refreshes. Did you have the commit pane open during the branch switch? If so that explains it, and I'll look at that. My sequence for reproduction is therefore this:

            • Commit in one branch
            • Click the commit pane again to re-open it
            • Switch branches
            • Return to commit pane (still open), branch is still the previous one

            Closing the commit pane & re-opening it displays the correct branch.

            Steve Streeting (Inactive) added a comment - The only way I can reproduce this is if I leave the commit box expanded while switching branches - this doesn't usually happen because when you commit the pane closes again, so if I follow your steps exactly, step 1 will have closed the commit pane so when I click the commit pane again after switching branches it refreshes. Did you have the commit pane open during the branch switch? If so that explains it, and I'll look at that. My sequence for reproduction is therefore this: Commit in one branch Click the commit pane again to re-open it Switch branches Return to commit pane (still open), branch is still the previous one Closing the commit pane & re-opening it displays the correct branch.

            I updated my steps to reproduce just in case you are committing differently.

            Eric Higginson added a comment - I updated my steps to reproduce just in case you are committing differently.

            Actually, never mind - I still can't reproduce this even if I have auto-refresh disabled. When I perform the tasks above, I always get the correct branch displayed in the footer of the commit pane. This branch is re-queried every time the commit pane is activated.

            Steve Streeting (Inactive) added a comment - Actually, never mind - I still can't reproduce this even if I have auto-refresh disabled. When I perform the tasks above, I always get the correct branch displayed in the footer of the commit pane. This branch is re-queried every time the commit pane is activated.

            Do you have auto-refresh disabled for your repository or globally?

            Steve Streeting (Inactive) added a comment - Do you have auto-refresh disabled for your repository or globally?

            KieranA added a comment -

            Hi Eric,

            Could you show the sidebar and commit area in a screenshot at the same time when this happens?

            Thanks in advance

            KieranA added a comment - Hi Eric, Could you show the sidebar and commit area in a screenshot at the same time when this happens? Thanks in advance

              Unassigned Unassigned
              8989bdfc97a1 Eric Higginson
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: