youngmon/atlassian-qna huggingface dataset:
Account locked by atlassian
Asked by Fabrice Maguy:

hi,

We have an account locked by Atlassian. (account used for Bitbucket Cloud)

It seems that the account was locked because it did not logged into Bitucket HIM since one year ( but it was used to clone/checkout source)

So I wonder

* What are rules that lock account automaticaly?

thank you


Answers:
author: Caroline R
body: Hi, [@Fabrice Maguy](/t5/user/viewprofilepage/user-id/2118426)!

We do not normally de-activate accounts that are active. In order to further investigate what is happening here, could you please share what is the error message this user is receiving? Please do not share the email address linked to this account here.

Feel free to share any additional information regarding this subject.

Kind regards,  
Caroline

comments: author: Fabrice Maguy
body: Hi Caroline,

Unfortunately this account was used only for application (as service account), so I don't have the account email...

But the error message is

"You can no longer collaborate with this person. This account has been inactive for more than a year."

Regards


Tags: bitbucket-cloud

cloud
What URL to use for Kiln Host Url field?
Asked by Craig Miller:

Just wondering if you could provide some additional info on what URL to use when configuring Kiln with sourcetree. My initial attempts using \<mycompany\>.kilnhg.com and \<mycompany\>.fogbugz.com both failed while making a Kiln API request.


Answers:
author: stevestreeting
body: If you mean the Hosted Projects setup, then the URL is simply the base URL for your project e.g. <https://yourcompany.kilnhg.com.> The username will normally be your email address.

This will turn into a clone URL something like this: <https://yourcompany.kilnhg.com/Repo/Repositories/Group/yourproject>

comments: author: Craig Miller
body: Yes, that's the url I wound up using. It failed when using my email address as the username though. I had to use "\<First\> \<Last\>" in order for it to work.


author: Craig Miller
body: I had to use my regular name instead of my email address when logging in. The @ symbol in the email address made hg unhappy.
Mercurial : wrong changeset in bold after pull
Asked by Barry Weinstein:

Hi,

I'm running 1.3.0b2. After a pull I the tip of the pull is invariably shown in bold. At the command line "hg id" identifies the changeset corresponding to my workspace prior to the pull. The command line is correct. Sourcetree is wrong. A forced refresh of the open view on the repository does \*not\* fix this. Closing and opening the view \*does\* fix this.

Thanks a bunch.


Answers:
author: stevestreeting
body: Hmm, can you share a screenshot for context, and clarify what post-pull action you're using?

I just did a couple of tests here with Pull (with 'Update' as the post-pull action, but where the pulled changesets were on another branch), and the correct changeset remained bold, not the tip.

comments: author: Barry Weinstein
body: Hi Steve. Sorry it took so long to followup. Here's a screencast.

<http://www.screencast.com/t/oDEl98EZxE1>

If it matters, this is Lion.


author: stevestreeting
body: Thanks for the video, that teased out the cause.

So the reason my tests didn't recreate it is that condition your repo has which is triggering it is having 2 heads for one branch where the working copy is on the older one.

I'll get this fixed, tracking the bug here: <https://jira.atlassian.com/browse/SRCTREE-808>


author: stevestreeting
body: Actually, I still haven't been able to recreate this, despite many attempts and repeating your steps: <http://screencast.com/t/zxKx5qUDxIvn>

Whenever I try the correct row is always boldened, whether I use 1.3b2, 1.2.9.1 or my latest development build. Most puzzling.


author: Barry Weinstein
body: Hi Steve,

I had the problem for a full three days. Then when you asked for a screenshot I created two small repositories for a screencast. Quess what. The problem didn't happen. Then when I went back to my original repository the problem was gone. It stayed gone for a few days. The problem is back now. A manual refresh does \*not\* fix it. Reopening the window on that repository \*does\* fix it. If I had any hair I'd pull it out. :-)

I'll also say that I have other update issues if I actually look for them. The issue we're discussing here could be just a particular case of Sourcetree not showing the correct version more generally; for example, if I do "hg update" outside of SourceTree. I reported this quite some time ago and we guessed that just restarting in safe mode would fix that up. That only sometimes works for me. Invariably the problem returns. I've recently udated to Lion and that's not changed this behavior at all.

I wonder if this correlates with a seemingly unrelated issue I have. I have very, very slow refreshes in source tree. This is true even on a repository of under 10 changesets. This was true in Snow Leopard and now in Lion. It was true in 1.2 and in the 1.3 beta. I don't want to hijack my own thread. I just thought I'd throw that out for consideration.

Regards,

Barry


author: stevestreeting
body: Hmm, until I can recreate this it's hard to know what's going on. FYI, all the people that reported slowness on 1.2 have now reported that 1.3 beta 3 is really quick for them. Have you tried this one yet?
Resolve Conflicts with external tool is not working.
Asked by thedanielfactor:

When I click resolve using external merge tool it is not opening anything. I have tried DiffMerge and FileMerge neither work. I need to be able to resolve confilcts from sourcetree.


Answers:
author: stevestreeting
body: The issue is actually that the 'opendiff' command is how FileMerge is invoked by git/hg and with the App Store version of XCode on a clean machine this may not be on your path.

This Knowledge Base article should hopefully help you resolve this problem: <http://confluence.atlassian.com/pages/viewpage.action?pageId=267258218>


author: Maxime Lecomte
body: I added some informations to the article you pointed to me.


author: Maxime Lecomte
body: Tanks you for your answer


author: Maxime Lecomte
body: Hi,

I Have the same problem. i try to resolve some conflicts with external merge tool and the merge tools never open.

- I'm using git

- it's a .m from and XCode project. (Objective-c)

- version of sourceTree is 1.3.3

It seems that it appear since the new XCode 4.3 and since all the Developers Tools are now in the XCode package. I found File merge : /Applications/Xcode.app/Contents/Applications

And i don't see any settings in sourceTree to set the directory of file merge.

Thanks in advance for your help.


author: stevestreeting
body: This works fine for me, please provide some specifics:

1. Mercurial or Git
2. Type of file
3. SourceTree version
4. Location of your FileMerge and DiffMerge binaries

Does 'hg resolve' or 'git mergetool' work on the command line?
Sourcetree how to use source tree with an Assembla git repository?
Asked by Sandeep Kakumanu:

Hi,

I would like to know if it is possible to use SourceTree with an Assembla hosted git repository? I tried adding the assembla's clone URL while adding a repository in sourceTree but I get permission denied. I do not find any place where I can add my public key in order to authenticate with the assembla server.

thanks

sandeep

[](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-how-to-use-source-tree-with-an-Assembla-git/qaq-p/174034?attachment-id=9399){#link_116d67f32d3797}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/5109/1/SourceTree%20link.png){#display_116d67f32d3797_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-how-to-use-source-tree-with-an-Assembla-git/qaq-p/174034?attachment-id=9400){#link_116d67f32d3797_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/5109/2/git%20_%20Assembla_https.png){#display_116d67f32d3797_2}


Answers:
author: Sandeep Kakumanu
body: I found the answer myself. I just needed to create a public/private key pair in the .ssh directory in my home using the 'ssh-keygen' command. Once the pair is created, I uploaded the id_rsa.pub in my assembla profile. Now I can add the clone URL of the assembla repository.

comments: author: stevestreeting
body: Glad you got it sorted out. Yes, SourceTree automatically uses the global SSH configuration for your user (that may have to change to a more explicit SSH setup in future version because of Lion's sandboxing, but that will be made clear when it happens)


author: hammad1001
body: 1. Go to assembla, your repsority. Select http for othe link (default is ssh)
2. Past that link directlly int the source directory. it should then ask you for username and password.

git _ Assembla_https.pngSourceTree link.png
Git pull and push dialog is really really slow, and unnecessary
Asked by Tevye Krynski:

I have a frequent need to run "git pull" or "git push", which uses the current branch. In terminal, it's incredibly fast. But in sourcetree, it pops up a dialog and takes about 10 seconds to request information on remote branches, after which it automatically selects the tracked branch and then I hit OK. Why is this dialog necessary? I understand that occasionally someone might want to push or pull somewhere else, but I am right-clicking my current branch and choosing "Pull origin/develop (tracked)". That can only mean one thing... so why spend 10 seconds refreshing all the other remote branches? I've gotten so weary of waiting that it is actually faster to open a terminal window, cd to my dev directory and type "git pull". Could you please make a preference to allow me to skip the dialog for pulls and pushes, and just use the current branch and the tracked remote, just as the git client does in terminal?


Answers:
author: stevestreeting
body: This has been addressed here: <https://jira.atlassian.com/browse/SRCTREE-723>.

SourceTree 1.3 beta 2 is due out later today which includes this change.


author: ErikM
body: That is the strange part, I don't, but sourcetree clearly believes so

grep svn .git/\* .git/\*/\*

is empty

I found an empty directory called .git/svn though, which I deleted but sourcetree recreates it.

comments: author: stevestreeting
body: SourceTree doesn't create this folder itself, only git does that. However if this folder exists, then SourceTree uses that as an indicator that there is Subversion interop enabled on this repo and will call 'git svn' commands as appropriate, which perhaps might re-create it. So if you delete this folder manually, it's best to do so while SourceTree is closed to be sure.


author: ErikM
body: The repository is at github and is quite fast  

```
$ time git pullAlready up-to-date.real	0m1.895s
```

But if I right click on the branch and choose pull from origin/branchname It takes 30 seconds of pause before the spinning bar appears and ends in this error message  

```
git fetch origin git svn fetch [svn-remote "svn"] unknownCompleted with errors, see above
```

comments: author: stevestreeting
body: Looks like you still have a git-svn remote still set up, is that now defunct? If so, please try removing it. It sounds like one of your local branches is still set up to track the svn server.


author: ErikM
body: I am running 1.3.0b3 and the problem still exists. Push and pull are extremly slow 2\*10 seconds for a push, 10 before the dialog appears and 10 after.

comments: author: stevestreeting
body: Right-clicking on the local branch you want to pull / push and selecting the tracking branch option for pull/push will skip the remote retrieval of branches.

What server are you using? 20 seconds for a 'git remote show' (which is what the pull/push dialogs do to retrieve remote branches when you don't use the context option) is pretty poor.
"github API call failed" when connecting to hosted project
Asked by will ant:

Hiya all

This is my first time at setting up sourceTree and a new GitHub account.

I have create dthe new gitHub account and set a up a repository for source tree to connect to. but when clcik on hosted projects and then edit accounts, my details for githib are correct.

hosted service: github

hosturl: <https://github.com> (greydOut)

username: gihub login username

preferred prtocol: https

But when i click ok to go back to the hosted repositories i geta popup message syaing "github API call failed".

any ideas?

Ww


Answers:
author: stevestreeting
body: The only time I've seen that happen is if either the username/password are wrong, or the GitHub API is down. I've just tested it here and it's working so I'm guessing the former. To make sure, click the 'Set Password' button on the account detail sheet and type the password again to be sure.


author: Alex
body: Sorry to bump a really old thread, but I'm getting this same error using credentials that work when I log into [github.com](http://github.com) via the web. As far as I can tell the Github API is not down.


Tags: github
Sourcetree takes lot of memory.
Asked by Prakash Nadar:

I have been using sourcetree the entire day, opening and closeing many times between 4 projects. At the end of the day with all windows of sourctree closed, the memory usage is reported to be 350MB.

I think, 350meg is too much memory to consume during idle time. Not sure if this a know problem. I am using version 1.2.9.1


Answers:
author: Pedro Olimpio
body: I'm using latest version of the SourceTree and commiting many files the software expends many many RAM like 4.5 GB


author: Jeremy Novak
body: I am using version 1.9.10.0. I just noticed it was using \> 2 gig before I shut it down. The memory leak must still be an issue.

I have multiple windows users on the PC and I switch back and forth. I don't know if that contributes to the issue or not. I'll start paying attention to see if I can get more info.


author: stevestreeting
body: SourceTree usually hovers around a maximum of 80MB for me, but it does depend on what you're viewing - large binary files for example can cause it to call QuickLook which takes extra memory, and also large diffs can add up.

However, it's important to note that the memory in Activity Monitor isn't necessarily the amount of memory being used. OS X doesn't bother freeing up inactive memory from apps until some other application needs it, which can result in it appearing that an app is using more memory than it actually is, particularly if that need was temporary. Perversely the more memory you have free on your machine, the worse it looks because there's less reason for OS X to clean up and recover inactive memory.

comments: author: Prakash Nadar
body: The memory consumption was bothering me when I noticed that only 25meg was left in free memory from my 8gig total Ram. Still SourceTree managed to hold that much memory on Activity Monitor perspective after closing all sourcetree windows.


Tags: memory
How do i tell which commit a file was entered on?
Asked by jordan miller:

I have a file I commited a while back. I can't remember which commit I posted it on. On Github for example each file lists the commit message and ID of that commit on which it was committed. How can I find the commit that the file was commited on without having to search the contents sequentially of each commit?

please advise.


Answers:
author: stevestreeting
body: Right-click the file and select 'Log Selected'.
SourceTree: How to invoke "diff" from terminal?
Asked by moroshko:

How could I invoke SourceTree from terminal so it would perform a \`diff\` between \`some.file\` in the working directory and the same file in the last commit (or any other commit) ?


Answers:
author: stevestreeting
body: 1.3 beta 2 will have the ability to launch SourceTree from the command line and open the repository, but if all you want to do is jump to a diff, 'hg diff' or 'git diff' with an external diff tool assigned is the fastest way, rather than going via SourceTree. SourceTree uses the same external diff tools anyway.


Tags: git
Sourcetree fast and smart pull and push choosed from RMB menu on branch
Asked by castus:

I noticed this small annoying thing: when I right-click on branch name, I have there "pull FOO (tracked)" and "push FOO (tracked)". When I click one of them I get window with spinner. I must wait to have refreshed branches, and after this my branches are selected and I may click OK.

I think that Sourcetree should **immediately** start pushing/pulling.

Whay I must wait for refreshing list of branches as I selected what branch I want to pull from/push to ?


Answers:
author: stevestreeting
body: This is being tracked already here: <https://jira.atlassian.com/browse/SRCTREE-723>, I've upvoted it based on this.

comments: author: castus
body: Have this in 1.3 will be great. Thanks guys, great job!


author: stevestreeting
body: I do still think there should be a confirmation box though, since it's easy to accidentally pick a menu item. It just needes to avoid the remote check.


author: castus
body: Hmm if you tracked some branch I think nothing unexpected will not happened.

But if you want confirmation box, ok, but without waiting for refresh and already selected choosed branches, will be nice.


Tags: pre-push

pull-request
CodeBase / SourceTree
Asked by mikemitterer:

Is there a way to use CodeBase ([www.codebasehq.com](http://www.codebasehq.com)) with SourceTree?

thx

Mike Mitterer


Answers:
author: Mike Brandehorst
body: But they do, actually they have to offer more functionality then the others, deployment, tickets, document, etc.

<http://docs.atechmedia.com/codebase/developer-api>

<http://docs.atechmedia.com/codebase/developer-api/repositories-api>

<http://docs.atechmedia.com/codebase/developer-api/repositories-api/commits>


author: Mike Brandehorst
body: But is there a way to add a Hosted Project like CodebaseHQ? By making a plugin or something?


author: stevestreeting
body: You can just use the standard clone URLs (https or ssh) with SourceTree as remote URLs - they will work fine.

Projects hosted on this site won't show up in the 'Hosted Projects' view though since SourceTree only supports API integration with GitHub, Bitbucket and Kiln. But if you know the URLs you can just copy / paste or drag / drop them into SourceTree.

comments: author: Mike Brandehorst
body: But is there a way to add a Hosted Project like CodebaseHQ? By making a plugin or something?


author: stevestreeting
body: No, but I don't believe Codebase HQ have an API you can call to get this information anyway. The GitHub / Bitbucket / Kiln integration all operate via a REST API, which is a requirement.


author: Mike Brandehorst
body: But they do, actually they have to offer more functionality then the others, deployment, tickets, document, etc.

<http://docs.atechmedia.com/codebase/developer-api>

<http://docs.atechmedia.com/codebase/developer-api/repositories-api>

<http://docs.atechmedia.com/codebase/developer-api/repositories-api/commits>


author: stevestreeting
body: Ah, I never found that before. Please raise a feature request on <https://jira.atlassian.com>!


author: Mike Brandehorst
body: Thx, I added a feature request: <https://jira.atlassian.com/browse/SRCTREE-797>
Using Git and Hg for the same project in the same directory
Asked by Josh Metcalfe:

I have a project were I'm using both Git and Hg. I want to work with the same set of code on my laptop and share it with co-workers (Git) and my home computer (Hg).

The project exists and I can use the command line with no issue, but in SourceTree I see some interesting behavior. The Git repository exists first and was added to SourceTree initially. I later then create a new Hg repository and pushed the current files (already stored in Git.

I wanted to add a linkage to Hg in SourceTree as well and dragged the project over. There was no prompt and it automatically selected Hg as the type of repository.

However, when I select the Hg repository from the Bookmarks window in SourceTree what opens is a window based on Git information.

I'm guessing that there just isn't support for this atm, but I would certainly like to know if there's a way for me to configure SourceTree to make it work. It's a great tool! Thanks.


Answers:
author: stevestreeting
body: Unfortunately this isn't supported at the moment; SourceTree auto-detects the type but assumes there is only one or the other. Handling both in the same folder is tricky, because suddenly you have to start asking which the user wan't to use when a folder is referenced, which is just inferred so far.

It's logged here for a potential future enhancement: <https://jira.atlassian.com/browse/SRCTREE-651>

comments: author: Josh Metcalfe
body: Thanks Steve. I figured as much. I gave it a vote, so we'll see if it sees any movement.
Navigate through all changes
Asked by MikeL:

How can I navigate from one change to another, so I can review all changes (either local or for a certain commit in the repository)?


Answers:
author: stevestreeting
body: The selection on all the tables responds to the up/down arrow. You can also Cmd-Click or Shift-click to multi-select files (not log entries, multi-select shows the difference between the selected commits).

comments: author: MikeL
body: I meant to navigate through all changes inside the files. If the end of the file is reached, take the next file and so on.


Tags: compare
Reset branch to different commit (Git)
Asked by MikeL:

How can I reset (hard or soft) my current branch to a different commit?


Answers:
author: Colin Goudie
body: git reset --hard COMMIT_ID

e.g.

git reset --hard 0f347f

With SourceTree you would probably right click on the commit and do a checkout (discard changed) or something

comments: author: MikeL
body: I know how I can do that on command line, but I want to avoid command line at all. BTW, the Reset toolbar button exists, but is disabled.


author: stevestreeting
body: As Colin says, right-click a commit in the log and select 'Checkout'. You can also use the Checkout toolbar button / menu item and select an item from the list in the dialog.


author: MikeL
body: I've tried, but *Checkout* just changes what working tree state I will have. It does not move my current branch to the selected commit. Is the *Reset* feature missing in SourceTree though a toolbar button with this name already exists?


author: stevestreeting
body: 'git reset' has many different modes, SourceTree uses the most common one which is to undo your working copy changes. Checkout effectively does 'git reset' followed by 'git checkout' for missing files.

You're clearly looking for 'git reset --hard' to move your branch pointer elsewhere. SourceTree doesn't support that yet.


author: stevestreeting
body: I've logged this as a feature request here: <https://jira.atlassian.com/browse/SRCTREE-770>


author: MikeL
body: Not just reset --hard, but also --soft and --mixed. All those move the branch pointer, but do different things with the index or working tree.


Tags: git

reset