Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-10730

Error "An item with the same key(...)" when pulling / pushing from Azure DevOps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Highest
    • None
    • 3.0.5, 3.0.6
    • Git
    • SourceTree 3.0.6 in an Windows 10 laptop. 

    • Severity 2 - Major

    Description

      First of all, the 3.0.6 version doesn't appear in the "Affects Version/s" list. So I choose the 3.0.5. Not sure if it is also a bug in this Create Issue  But 3.0.6 is what I see when I click in Help -> About in the SourceTree.

       

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

       

      When I try to pull / push from Azure DevOps repositories it gives me the error below.

      It doesn't happen if:

      • I pull / push with same version, but from other repositories (tested with GitLab and GitHub).
      • I pull / push the same repository, but with a previous version (tested with SourceTree version 2.6.0)
      • I pull / push the same repository, but with other tool (tested with TortoiseGit)

      So, I could reduce the surface to happening at least with SourceTree 3.0.6 pulling repositories from Azure DevOps Git.

      Here goes the error log that is shown when I click the "Show Full Output" checkbox:

      git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
      fatal: ArgumentException encountered.
      An item with the same key has already been added.

      fatal: ArgumentException encountered.
      An item with the same key has already been added.

      error: cannot spawn C:\Users\ruipi\AppData\Local\SourceTree\app-3.0.6\tools\Askpass.exe: No error

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              c88c20a5d8a0 Rui Pinheiro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: