Tag: mercurial

Git's alternative to .hgrcpath

Does Git have anything like Hg’s HGRCPATH, i.e. an enviromental variable which you can modify to change the location where Hg will search for its global configuration file. In git that can be somewhat accomplished by changing HOME, but that will affect unknown number of other applications, which is why I’m trying to avoid it.

Problem converting git to mercurial

I’m getting an error trying to convert a git repository to mercurial. When I run: hg convert gitdir hgdir I get this: UnboundLocalError: local variable ‘tz’ referenced before assignment Background: I just installed TortoiseHg and enabled the convert extension. It looks like nmercurial convert is having a problem with the git repository. I’ve been managing […]

Working with repos

When working with repos (I have github in mind), should we also commit third party libraries? For example, boost and poco compile to 5G with samples. Should we upload all that to github? If not, then how do we keep the libraries in sync with other people? Sorry about lack of capitalization and grammar. I […]

Multiple users in git, coming from using mercurial

I’m using git for a class project so I can work with my team. I used mercurial last semester for this but have switched to git since msysgit has a portable version. In mercurial, when 2 users made changes from the same changeset, one pushes, and the others commits would become a separate branch that […]

How do I hide a file from a single remote repo in git?

I’ve got a project I’d like to start sharing on github which I’d set up as another remote repo. But I’ve got some sensitive configuration information (amazon s3 account details) that I don’t want to obviously share on github. Is there a way I can get the remote github repos to ignore the settings file, […]

What is the equivalent of hg up -C in git

I want to get the current head of my git repo destroying all changes made and erasing additional files in the working copy.

A version control system with minimum space requirements on the client side, and is good with binaries

(This is my first post so be gentle) I am using subversion as version control on large binary. I have about 2.5 gigs of binaries that I update hourly. I get about 400 megs worth of differents each day. Some of the files are PEs but it is mainly compressed files that are difficult to […]

How to use mercurial or git subrepositories that are connected to the latest release tag?

I am looking for a solution that would allow me to use subrepositories that are getting not the HEAD and instead a specific RELEASE tag, or if possible the latest tag. Is this possible, how should I implement this? Did anyone implemented this?

How and when do Mercurial or git diff files?

I am on a project about file sync. I have some questions: Who can tell me how Mercurial or Git diff files and store the diffs? Does it monitor file change? Does it need to diff the whole file when making a commit? Whether it can monitor the change of section by driver? What’s the […]

git repository browsing

I am interested if I can do repository browsing with git in the following way: given a remote repository -fetch only data about the directory structure of a certain revision at the beginning – fetch files individually on choice given the knowledge acquired previously for example(fake commands only to illustrate intent): git clone –dont_get_me_repo_contents_please // […]

Git Baby is a git and github fan, let's start git clone.