Currently I have a code repository which is not well documented, called ”A”, in a remote server. I have a local clone of it, called ”B”. I want to accompany the following two things: add Doxygen-style comments to ”B” to generate documents. push changesets to ”A” without these comments in ”B”. What is the best […]
Is it possible to access git and hg repos with the same ssh public key? The problem is: I can access to my git repo but when I try to access my hg repo it asks me for hg user password instead of ssh key password. The error is in my public config or in […]
Some mercurial/git commands drop you on the command line if they require your intervention (or if you requested intervention). With mercurial, how do I find out if I am in the middle of a hg rebase or hg histedit? With git a git status reminds you of the current situation.
When I was using Mercurial, creating a remote repository is one command line: hg clone local remote Where remote is something accessible via ssh. For instance: hg clone /path/to/local/repo.hg ssh://host.name/path/to/new/clone.hg I don’t know if it is a functionality in Mercurial or we have installed something to make that possible. Is there any way to do […]
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.
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 […]
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 […]
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 […]
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, […]
I want to get the current head of my git repo destroying all changes made and erasing additional files in the working copy.