using bitbucket in windows, but cant get tortoisehg - windows

trying to use bitbucket in windows. but mercurial wont install in windows, and tortoisehg cant download because cdn.bitbucket.com didnt connect(here in China, but I break the GFW and facebook etc. is available)
So, is the windows version of mercurial tortoisehg? If so, why I got a mercurial-2.5.2.win-amd64-py2.7.exe? Any other solutions to clone from bitbucket?

TortoiseHG is just a graphical shell for Mercurial. You can get by using just the command line client.
After installing the package in mercurial-2.5.2.win-amd64-py2.7.exe, try typing hg --help at a command prompt.

Related

How do I properly upgrade SVN on MAC?

I'm starting on a new team who are all on PCs using TortoiseSVN with SVN version 1.9.2. I'm on a Mac OSX (El Capitan) using the Versionsapp. When I check svn --version in terminal i get 1.7.10.
When I try any svn command such as svn update I get
svn: E155021: This client is too old to work with the working copy at
'/Users/dpowell/Desktop/sites/site.org.new' (format 31).
You need to get a newer Subversion client. For more details, see
http://subversion.apache.org/faq.html#working-copy-format-change
I've gone to the site and downloaded the python script but don't know it will do anything to help (i.e. I don't know how to use it). I've also downloaded the 1.9 package and tried installing svn that way.
I'm not sure what path to take to solve this issue
The Python script you downloaded from there was to downgrade your SVN version - you need to upgrade your SVN version. I recommend going the homebrew route - it will save you lots of pain in upgrading / installing OSX packages in the future.
Follow the instructions here: http://brew.sh/
(copy that line into a terminal an press ENTER, then follow the prompts)
Then, when homebrew is installed, so update SVN, just do brew install svn.
In Terminal, type "svn --version" to find out what version you currently have
Go to http://www.wandisco.com/subversion/download#osx and download the latest client for OS X and install it. This will install the new svn into /opt/subversion/bin
Got to your terminal and check your $PATH by typing "echo $PATH". If you don't see /opt/subversion/bin in there, make sure you add it by typing export PATH=/opt/subversion/bin:$PATH. If it DOES exist and appears AFTER /usr/bin, then you may need to remove an older copy of svn that came installed on OS X. To do so, go to /usr/bin and remove all files starting with svn. This isn't an exact science but it should do the trick.
For me export PATH=/opt/subversion/bin:$PATH worked as it was installed in /opt/subversion/bin
Make sure you reload your .profile first by typing
. ./.profile*
Type "svn --version". You should see that you have the newest version installed!
brew upgrade subversion
Others solutions require you to register an Account?? forget them.

How to install GitFlow for Windows

Is there a way to install Git Flow on Windows? I tried this tutorial but I'm unable to understand it.
I already have Git Installed on my PC, can I use GitFlow from my current Git installation?
Use the recently released Git for Windows 2.5.3 which now ships with git-flow (the AVH edition of it).
If you have Sourcetree OR if you install Sourcetree, you can find GitFlow options there. This is one of the easiest way to use GitFlow.
Once you active GitFlow from their (shown in the above screenshot), you can use all GitFlow commands from the terminal as well.

Why is git slow on my windows machine?

Just typing git at the command prompt (of powershell), takes 2.5 seconds until it returns with the help message.
I'm using the git for windows release, installed in C:\Program Files (x86)\Git. When I use cygwin (via babun), I get an error: Hint: your prompt is very slow. Check the installed 'BLODA' software. Maybe this is related? If it is, I'm using a corporate laptop, so can't uninstall antivirus or driver software, are there other options?
For me the reason seemed to be the "Inject ConEmuHk" setting in cmder under which I ran git. I've opened a bug https://github.com/bliker/cmder/issues/592
Try and see if the issue persists with the latest 2.4+ git for Windows release.
There is a bug related to the git bash startup time which is actively addressed.

Git not working. Installed XCode

Using an iMac running OSX 10.8.5 (Mountain Lion). It's a work computer and can't upgrade to a higher OS version at the moment for various reasons.
I tried installing XCode so that I can use Git but it isn't working.
In terminal I run:
git --version
and get this response:
-bash: git: command not found
What am I doing wrong?
You need to install git separately:
http://burnedpixel.com/blog/setting-up-git-and-github-on-your-mac/
Source control was only introduced into Xcode 4. This however does not mean git is installed onto your system as part of downloading Xcode. It just means that you can use some git features in a Xcode project by pressing the source control button at the top. To install the actual git go here.
I'm don't know why it appears to be so, but it looks like Git still isn't installed on your computer. Another way to check if Git is installed is by using the which git command. If that still doesn't help, install it separately. Download Git for Mac.

Command line installers

Ok I want to install the command line version of git on a Mac OSX machine.
Should I be using "brew" or macports or something else?
I want a good command line software manager and there are many.
Download and install xcode 4 from AppStore.
http://itunes.apple.com/us/app/xcode/id448457090?mt=12
This will install all developer tools, including git.
For other things I recommend MacPorts.
You can grab git for Mac OSX here: http://code.google.com/p/git-osx-installer/
Git has installer for MacOSX.
See http://git-scm.com/download
Github has pretty good instruction on how to setup Git on Mac.
http://help.github.com/mac-set-up-git/

Resources