Welcome to WebmasterWorld Guest from 54.80.68.137

Forum Moderators: ergophobe

Message Too Old, No Replies

Git vs Mercurial: Do You to Install Git for Mercurial

Git and Mercurial

     
5:32 pm on Jun 19, 2017 (gmt 0)

New User

joined:Dec 4, 2016
posts: 5
votes: 0


It was my understanding that you could use either Git OR Mercurial as a repository for version control. So I chose Mercurial and all was good until I was following the instructions for installing it....Step 2: Update your configuration file > When you install Git, it comes with a configuration file that you update with your personal settings from a command window.. For the full tutorial see: [confluence.atlassian.com...]

So why would Git come into play during a Mercurial install?

Kind regards

[edited by: ergophobe at 11:31 pm (utc) on Jun 19, 2017]
[edit reason] Fixed URL [/edit]

11:32 pm on June 19, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11293
votes: 135


perhaps this would be a good place to start...

DVCS workflows for Bitbucket Cloud - Atlassian Documentation:
https://confluence.atlassian.com/get-started-with-bitbucket/dvcs-workflows-for-bitbucket-cloud-860009652.html [confluence.atlassian.com]
11:35 pm on June 19, 2017 (gmt 0)

Moderator This Forum

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 25, 2002
posts:8589
votes: 258


I think it might be a typo. Git shouldn't create a .hgrc file, but Mercurial would.

They are either trying to say
"Hey, if you installed git, this step was done for you, but with Mercurial, you might have to do it yourself."

or

"If you already have git installed, you might have this file and so it might conflict"

or

"If you already have git installed, you understand the concept here: you're going to need to add your personal settings so you can make commits and such."

Anyway, I would just follow the instructions
- check to see if you have the file.
- if you don't, create it and add the username setting

Quick tip. If you need to create a "dot" file on Windows, it won't let you. You have to add another dot. So rather than filename ".hgrc" you name the file ".hgrc." and the last dot disappears and you have the name you need.
2:15 pm on June 20, 2017 (gmt 0)

New User

joined:Dec 4, 2016
posts: 5
votes: 0


Okay thanks, on a side note....what does Hg stand for? Such as TortoiseHg.......
8:20 pm on June 20, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11293
votes: 135


Hg is the symbol for the element Mercury.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members