youngmon/atlassian-qna huggingface dataset:
Really slow bookmark list
Asked by Brian Chowns:

I love this software but I have an issue with the bookmark list. As a web developer I have dozens of bookmarks (GIT). When I open the bookmark list it starts scanning all the repositories and bogs down for a few minutes. I've reduced this a bit by putting them in folders, since it only appears to scan once they are in view, but its still a lot of scanning when I try to open one.

Is it possible to disable this scanning in the bookmark list?


Answers:
author: stevestreeting
body: As you've figured out on your own, SourceTree only scans the bookmarks that are in view, so it's only when you scroll down that others will start to be queried too. So folders and putting the items you use most near the top are one way to speed this up. But no, you can't prevent the scan actually happening since this is most of the value of the bookmarks view. I'm surprised you're finding it slow - I have about 50 bookmarks here, and I keep most of my folders expanded so the window is always full of bookmarks when I start up, and it's actually very quick. SourceTree 1.3 is faster (it's in beta right now, you can check it out ahead of the official release here: <http://www.sourcetreeapp.com/2011/12/29/sourcetree-1-3-beta-3-released/>), you might want to try that out. It will become the stable version very soon.


Tags: bookmark
How do I untrack a file?
Asked by Prakash Nadar:

Need to untrack a file that has been tracked accidently? How do I do it?


Answers:
author: stevestreeting
body: There currently isn't a function for this (it equates to 'hg forget' and 'git rm --cached'), it's on my list and you can track progress here: <https://jira.atlassian.com/browse/SRCTREE-822>

\[edit\] In case anyone doesn't follow the link, this is now implemented and will be part of 1.3.1.

comments: author: Abderrahim Jami
body: Thanks for the reply


author: windwagon
body: Here's a workaround until 1.31 comes out if the file is in your local working directory. Quit SourceTree and move the file out of the directory. Start SourceTree again. The file will show up as deleted (grey circle); now "remove" the file (red circle) and commit this change. The file will disappear from the directory listing. Now move the file back into the working directory and it will show up as untracked.  

This works in 1.30 beta 3; I haven't tried it in 1.29  

comments: author: Prakash Nadar
body: Or you could open the command prompt via sourcetree to the folder where the file is and issue "git rm --cached" on it.


author: Colin Goudie
body: Right click on the file and "Remove". Then add the file to your .hgignore file

comments: author: Colin Goudie
body: Disclaimer. I don't use sourcetree to much especially with mercurial so more of a guess than anything


author: Prakash Nadar
body: Remove seems to say that it will remove the file permananetly, I do not want to do that. I want to keep the file around but untrack it. I know I could do this via command line and in mercurial as well. Just want to know how to do it in sourcetree.

Thanks for your answer though.
How can I push from Git to Mercurial with SourceTree?
Asked by naomicbush:

I've installed hg-git and am trying to push from a local Git repo to a local Mercurial repo so I can push to Bitbucket Mercurial repo. How can I do this? This answer from 2008 (<https://answers.atlassian.com/questions/19756/how-to-use-hg-git-with-sourcetree>) says you don't need hg-git if you're using SourceTree but I'm unable to get this working. I even tried pushing straight from local Git repo to Bitbucket Mercurial repo but it would not work.


Answers:
author: Colin Goudie
body: I think you'd be best off using commandline hg using the hg-git plugin directly

<http://hg-git.github.com/>

A few things though

1. Is this an existing mercurial repository? And if so, whats in the git repository?

2. Or are you trying to just convert a local git repo so it's mercurial now?

Also, bitbucket can just host a git repository now as well if that is easier for you.


author: stevestreeting
body: The answer you linked is actually from November 8 2011 rather than November 08 ;)

SourceTree isn't really designed for this since it supports both git and hg natively. However as mentioned in the previous answer, a hg-git setup may work with 1.3 because of the cross-link support of hg main repositories with git subrepositories. 1.3 is currently only in beta, so unless you deliberately retrieved the beta you'll still be on 1.2 which definitely doesn't support it.

On the whole, if you're using SourceTree you might as well use the native system (whether that's hg or git) rather than bridging since SourceTree gives you a unified interface anyway. Bitbucket also supports either hg or git repositories now, so you're not locked in to either system.
Change default commit mode
Asked by Sean Hill:

Is there a way to change the default commit mode? Every time I hit commit, I have to change the commit mode from "Commit all changes from selected files in the working tree" to "Commit changes staged in the index".


Answers:
author: stevestreeting
body: The default commit mode is based on whether you're using the staging features (the split view in the File Status tab); if you're using staging, SourceTree assumes you want to commit that way too. If you're not, then SourceTree defaults to the 'commit all' mode.

To control whether you use staging, open Preferences \> Git and toggle the 'Use the staging area' option.

Hope that helps!

comments: author: Sean Hill
body: Perfect. Changing my view did the trick. Thank you so much!


author: akuleshov
body: I can not find this option in my SourceTree 1.8.3.0

Was it moved somewhere?
Diff dropdown in prefs greyed out?
Asked by Nicholas Francis:

Hi guys.

I'm running SourceTree 1.3.0b3, and have installed Araxis Merge (in /Applications).

When I go to the diff panel in the prefs, dropdowns for "visual diff tool" and "merge tool" are both greyed out.

Any hints to how I tell SourceTree to use Araxis merge?  
[](https://community.atlassian.com/t5/Sourcetree-questions/Diff-dropdown-in-prefs-greyed-out/qaq-p/203981?attachment-id=3216){#link_116d60b76efc29}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/32546/1/image2016-3-19%2020%3A56%3A53.png){#display_116d60b76efc29_0}


Answers:
author: stevestreeting
body: These options are greyed out if you've unchecked the box 'Allow SourceTree to modify your global Mercurial and Git configuration files' at the top of the 'General' tab. SourceTree can't set up the external diff for you if it's not allowed to update the config files.

comments: author: amomchilov
body: Feature request: could you add a simple tool tip that explains this? So this information is more readily discoverable :)


author: Mark Buer
body: You can use an alternative diff (probably merge too?) tool in mercurial \*without\* needing to 'Allow SourceTree to modify your global Mercurial and Git configuration files'.

In your \~/.hgrc you can have:

```
[extensions]hgext.extdiff =[extdiff]cmd.sourcetreediff=/usr/local/bin/twdiffopts.sourcetreediff=--resume --reverse --wait
```

for example.


Tags: diff
How to use from terminal?
Asked by Dmytrii Nagirniak:

Hi,

I'm currently using

```
open -a /Applications/SourceTree.app .
```

to open the SourceTree from the terminal.

The probelm with it is that it always prompts me to Create Bookmark for the current (git) repo (even though it already exists).

Additionally, it opens the Bookmarks window too.

What I want is to just see the window with the current repo info.

What's the best way of opening it from the terminal?

Cheers,  
Dmytrii. /@dnagir


Answers:
author: stevestreeting
body: SourceTree 1.3 provides its own command-line tool 'stree' (as well as a truck load of other new stuff \& major performance improvements). There's information on how to obtain the beta version here: <http://www.sourcetreeapp.com/2011/12/29/sourcetree-1-3-beta-3-released/>. Once you have it, you can use the menu option SourceTree \> Install Command Line Tools

It's technically a beta, but actually it's really stable - we're really close to release now.

comments: author: Dmytrii Nagirniak
body: Thanks a lot. I'll see maybe I'll use Beta or just wait for the release.

Cheers.


Tags: bash

terminal
How do I add existing unversioned code
Asked by Laurence Wilks:

How do I add existing unversioned code


Answers:
author: Renjith Pillai
body: Was your question related to adding unversioned code for reviews in Crucible?


author: stevestreeting
body: Use File \> New, or Cmd-N, then select the 'New Repositiry' tab. You can then create a new Mercurial or Git repository in the root of your current source code tree, after which you can start adding files.
SourceTree equivalent of git diff master...feature
Asked by Erik Vandekieft:

Hi,

I love the SourceTree diff UI but I need to diff the common ancestor of two branches. In git, the command for this is:

git diff master...feature

Where 'feature' is some feature branch head. Note the triple-dot notation. This means that you want not the difference between the heads of "master" and "feature" but the difference between the common ancestor of "master" and "feature" and the head of "feature".

Is there a way to do this?

Thanks

--Erik


Answers:
author: stevestreeting
body: In SourceTree you can diff any 2 points in history just by Cmd-clicking to select two commit lines in the log view - the differences between those 2 commits, wherever they are, is then displayed. So that includes diffing the common ancestor and the head of the feature branch. However, right now you have to find this common anscestor in the log yourself, there's no automated selection of it.

comments: author: Erik Vandekieft
body: Thanks, I didn't realize you can cmd-click to diff two commits. I noticed it also displays diff output when more than two are selected-- what exactly is it showing?


author: stevestreeting
body: It shows the difference between the outermost selected rows. This is just for convenience in case you use Shift-click instead of Cmd-click.


author: Erik Vandekieft
body: Steve, thanks a lot for all the help. Sorry, there's one last thing I've never understood. When you click on a single commit, obviously it's showing the diff between that commit and its parent. But when the commit is a merge commit, there are two parents. So what does it display then? (I suppose this is more of a fundamental git question than SourceTree...)


author: stevestreeting
body: At the top of the diff pane in the log view is a pop-up list which says 'Diff Parent' by default. When you select a merge commit, selecting 'Diff Merged' there instead will display the differences to the merged commit rather than the first parent.


author: Luca de Alfaro
body: In gitk, I can ask between the difference between any two commits - that they are one the ancestor of the other, or not. In SourceTree, this is not possible then? The shift-click trick works only for commits related by an ancestry relation, right?


Tags: confluence

diff

git
Getting "resource busy" errors
Asked by Brandon Ching:

Whenever I try to commit changes, I am getting a "resource busy" error in SourceTree and the commit rolls back and fails. I'm on a Mac (10.7) using SourceTree 1.2.91 with Mercurial repos. All other features seem to work fine. If I go to the command line, I can commit fine. Also, I'm accessing the source through SMB on a remote system that I have mounted. Any ideas?


Answers:
author: stevestreeting
body: It's generally a very bad idea to use SMB mounted repositories, this is not officially supported. SMB is a pretty dumb protocol and doesn't allow for the kind of locking that both git and hg expect to be able to do on the repo to cope with parallel requests etc. Since SourceTree makes heavy use of parallelisation in order to provide a fast user experience, SMB is not supported. I've seen it work, and I haven't seen this error before, but I'm fairly sure this is it. I've also seen SMB hosted repositories get corrupted by git before so I personally wouldn't touch them with a barge pole.

You'd be far better (performance and resilience wise) to use a local repo and push to the remote when you need to, preferably over a more robust protocol like SSH but SMB may be good enough just for the push.

comments: author: Brandon Ching
body: Thanks. That seemed to be it. I mounted using SSHFS and problem solved.
How to import license file for SourceTree on Mac OS X?
Asked by Andreas Schuh:

I downloaded the trial of SourceTree and as well as a sourcetree.license.xml file after registration. However, the dialog used to import the license file does not allow me to select the downloaded file. Also changing the extension to .plist or .license does not help.


Answers:
author: Andreas Schuh
body: I had the same problem as Jakub and the app would not allow me to select any license file which I downloaded from Atlassian. However, Colin's suggestion to install it via the AppStore worked just fine.

(Adding this answer so I can close this ticket...)

comments: author: stevestreeting
body: FYI we found a bug in the [my.atlassian.com](http://my.atlassian.com) download route if the 'licensed to' name included a non-ASCII (e.g. accented) character. This has been fixed now.

Also 1.3.1 will allow the import of .xml files too, in case your browser renames it from .license based on the content type.


author: Nelson Nelson
body: Hi I am also getting problem importing the license file. Even after I renamed the license file to .license in OSX Maverick, the SourceTree gives another error saying my file is invalid. I looked closer and found that I cannot download my license from the "[Download your SourceTree license](https://my.atlassian.com/license/file/3540392). " link. Hitting the link always returns page not found. Any reasons why?

comments: author: Alexey Savartsov
body: Same problem, "Download your SourceTree license" link downloads html file named "sourcetree.license.html" with title "Page Not Found"


author: Jakub Ro?ek
body: I don't want to start new topic, so I would use this one.

I tried to import license by using an option and drag \& drop but when I did it, I get this: 'The file specified is not a valid SourceTree license file. Please pick a valid license'. What should I do with that?

I'm using mac os and this is '.license' file.

comments: author: stevestreeting
body: Please raise a support request at <https://support.atlassian.com> attaching the license file, you shouldn't get this error. There may have been an error in your download or similar.


author: stevestreeting
body: For completeness: the 'import license' option should allow you to select a .license file (that should have been the default extension anyway). I just tested this here, and '.license' files were definitely selectable in the browsing dialog.

Alternatively, you can drag / drop the license into the registration dialog.


author: Andreas Schuh
body: Great. That makes it even easier... I just followed their instructions on the web page, which also stated it is free, but the trial still required the license file. Installed it now from the AppStore and works fine.

Thank you!


author: Colin Goudie
body: SourceTree is free now and available in the MacApp store isn't it?


author: Andreas Schuh
body: Note that I had a previous trial installed before and that the trial period is experied already. I open the import license dialog by clicking on the button on the notice that the trial is experied.
Cannot open an SVN repo
Asked by statedigital:

I cannot open any of my SVN repos. They are all clean and functional. Here is the message that Sourcetree is giving me:

"The path /Users/caedmonjudd/Projects/mars_portal does not refer to a working copy for Mercurial, Git or Subversion"

Not sure why it's saying this.

Thanks!


Answers:
author: stevestreeting
body: SourceTree isn't actually a Subversion client for working copies, it's a Git and Mercurial client that can also interoperate with Subversion servers. So you can clone from a Subversion URL and create a linked Git or Mercurial repository locally which you can use to collaborate with the Subversion server (while still getting much of the added power of Git/Hg locally), but you can't point SourceTree at a native SVN working copy.
visualizing history in Source Tree
Asked by Sergio Castro:

Is it possible in Source Tree to visualize how files and directories looked like at certain commit back in the past ?

I have manage to see only a delta: a list of the content that was added/removed from my branch at certain commit, but not how the content of such branch looked like at the moment of the commit. In other words, I would like to see both the files and the directory structure at that point in time.


Answers:
author: stevestreeting
body: You can press space on any file you select in the log view to get a Quick Look of the whole file at that point in time, or double-click the file to open it as it was in the default editor.

comments: author: stevestreeting
body: Oh, I see - no you can't browse a complete snapshot of the entire repository unless you create a copy \& update to that version, right now.


author: Sergio Castro
body: thanks for the answer Steve. In fact what I want to see is both the files and the directory structure at certain commit. I think my original question was not that clear, so I have updated it a bit.


author: Blake Williams
body: Double-clicking doesn't open it as it was any more, it opens the version as it is in the working directory. Quick look still works, but it's a poor substitute.


author: stevestreeting
body: Actually double-clicking has always opened the current version, the thinking being that you often locate files that you want to edit via the log or search panes.

But, you **can** already open the historical version in a full editor, all you have to do if the Quick View peek at the historical version isn't enough is to click the 'Open in' button at the top right of the Quick View window. This opens the version you're seeing in the Quick View pane in a full editor, which is what you want. This way, we can allow you do do both things - locate files you want to edit in the current working copy via log/search, and also see the historical version in full.
To find the number of contents (page and blogs) created by each user
Asked by Praveen P:

We need data that how users are efficiently using confluence, So I need to Generate the report of every user, Is it possible how many To find the number of contents (page and blogs) created by each user


Answers:
author: Ken McClean
body: It's certainly possible, but likely not without a tool like ScriptRunner. Do you have something like that?


Tags: cloud

confluence-cloud
We Created a confluence page , added Teams Calender plugin to it ,we are stuck with configurations
Asked by Ankathi.Madhuritha:

Hi Team,  
We created a confluence page where we want to display the monthly Bookings for Environments (Categories) from Jira issues .

We added Team Calenders plugin , which selected event type as "Jira Issue Date" and selected the relavant project and date as "Golice start date" .It displayed the details which are fetched from Jira issuesIt is displaying as follows

Summary \| "Golive start date"

We have no option to customise the display settings for an event type.we want to display in the below format.  

Project Name \| Issue Sumary \| Golive start date  

Hoping for a solution for this query .  

Thanks.


Answers:
author: Brant Schroeder
body: [@Ankathi.Madhuritha](/t5/user/viewprofilepage/user-id/5213859) Welcome to the Atlassian community

I would suggest reviewing the setup and configuration here <https://support.atlassian.com/confluence-cloud/docs/use-team-calendars-for-confluence/>

I do not think there is a way to customize how it is displayed.


Tags: cloud

confluence-cloud
To find the number of contents (page and blogs) created by each user.
Asked by Praveen P:

We need data that how users are efficiently using confluence, So I need to Generate the report of every user, Is it possible how many To find the number of contents (page and blogs) created by each user


Answers:
author: Praveen P
body: Thanks Andy,

This space analytics is accessible only by admin?


author: Praveen P
body: Hi Andy,

Thank you for response,

We are using Standard- Confluence license


author: Mattia _bitvoodoo ag_
body: Hello [@Praveen P](/t5/user/viewprofilepage/user-id/5178756)

I only discovered your question today and I'm not sure whether your request is still relevant.  
A reference has already been made to the apps in the Marketplace. The [Viewtracker](https://marketplace.atlassian.com/apps/28637/viewtracker-analytics-for-confluence) app fulfills your requirements. [This report](https://docs.bitvoodoo.app/viewtracker-analytics-for-confluence-cloud/content-usage-report-users) allows you to see which activities users have carried out on Confluence for the desired period and, as described [here](https://www.bitvoodoo.app/blog/exciting-new-viewtracker-features-for-enhanced-confluence-usage-insights/#:~:text=Content%20%26%20Usage%20Report%3A%20User%20Audit), on which pages.

Best regards,  
Mattia


author: Andy Gladstone
body: There are specific settings for Space Analytics. The Admin has access by default but can make access public to all users or limit it to specific groups.

<https://support.atlassian.com/confluence-cloud/docs/set-viewing-permissions-for-analytics/>


author: Andy Gladstone
body: [@Praveen P](/t5/user/viewprofilepage/user-id/5178756) as stated, you do have Space Analytics, but not Site Analytics. You can run analytics individually per space to aggregate your data. You can check out Marketplace Apps to see if any provide the data points you are looking for. I am not familiar with them, so I cannot recommend any specific application.

[https://marketplace.atlassian.com/search?hosting=cloud\&product=confluence\&query=analytics](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=analytics)


author: Andy Gladstone
body: [@Praveen P](/t5/user/viewprofilepage/user-id/5178756) and [@snakehealth](/t5/user/viewprofilepage/user-id/5109713) the answer is, it depends. What Confluence licensing do you have in your Organization? Here is a summary of what may be available to you.

* Free - no reporting or analytics included
* Standard - Space Analytics are included
* Premium - Space and Site Analytics are included
* Enterprise - Space and Site Analytics are included

What are you on? I can guide you based on the structure you have in your environment. In a nutshell though, Space Analytics will only show you User Activity in that Space. If you are on Standard, you would need to analyze each Space individually to get a full picture of the organization contributions. On Premium and Enterprise you can run Site Analytics to provide a holistic view across all Spaces. One caveat, you can only run reports for the previous 12 months.

I hope this helps!


Tags: cloud

confluence-cloud