Questions tagged [hg]
24 questions
4
votes
1 answer
How to search for only a certain file extension for commit?
I have an ongoing problem using the TortoiseHG Workbench commit window to search for only a certain file type, such as with Python modules. Often I have tons of .pyc files that I don't want to be displayed in the list and I only want to filter for…
user553702
- 1,451
3
votes
2 answers
How to deal with binary files in Google Code?
How do you deal with binary files in your Google Code Mercurial repository? I have heard something about bfiles extension and such, but I do not know where to begin.
If you are going to say I should not put binary files in my HG repository, then…
rFactor
- 859
3
votes
2 answers
Search & replace back slashes to forward slashes in windows
Lately I've been needing to delete new untracked files from my versioning system. Being in linux I use:
hg status -un|xargs rm
And it works nice, but when doing it in windows, hg status lists paths with backslash so that is where stuff goes wrong.…
dukeofgaming
- 152
3
votes
2 answers
Pulling from a Mercurial repository over ssh with non-default ports
I'm trying to pull changes from a server which has sshd on port 2345 and an hg server listening locally on port 5432. I already have certifcate-based authentication for ssh, so there no need for a password.
This doesn't work:
hg -v pull…
GJ.
- 10,151
3
votes
1 answer
Mercurial hg identifies unchanged files as modified
I switched to a branch and
hg revert --all
then I wanted to import a diff file with
hg import [filename]
However, I got "abort: uncommitted changes". So I typed
hg st
It turned out that I had several modified files.
But I tried with
hg diff…
Y.W
- 31
2
votes
3 answers
Version control (hg): can one directory be "synced" with different repositories?
I have a directory for my work files which is under version control (Mercurial):
~/myfiles
In a subpath, I have a directory with Emacs packages for my org-mode setup:
~/myfiles/org-mode
As I said, the whole path is under version control and…
MostlyHarmless
- 1,908
2
votes
1 answer
how to make automatic git mirror for hg repo
I've Vim plugin project on GoogleCode using Mercurial, but users wants to have it on github to ease use it as git subrepo (to keep their ~/.vim/ on github with all plugins inside).
Personally I prefer googlecode and hg over github and git, so I…
Powerman
- 173
2
votes
0 answers
Using a Windows-based Mercurial repository in a NTFS drive from Linux
I have a dual-boot, Windows/Linux machine.
There, I have a mercurial repository in the NTFS data partition, which was cloned using Windows' TortoiseHg. It's also usually pushed/pulled through Windows.
When I'm working under Linux, the repo doesn't…
1
vote
1 answer
hg status with multiple remotes
I am trying to use mercurial and work with multiple pull repos and a single push repo.
I have tried changing the .hg/hgrc and is as given below:
[paths]
default = remoteA
mine = remoteB
default-push = remoteB
How do I check for changes in my…
lordlabakdas
- 145
1
vote
1 answer
Why does `hg diff -I filename` not show my file buried in a subdirectory?
Sometimes I make a few changes before remembering to commit. Sometimes they are unrelated. So I first hg stat to see which files I changed, and then I hg diff specific files if I don't remember every change I made to them, so I can make an…
Kev
- 1,184
1
vote
1 answer
SmartGit/Hg launch error
For a personal project, I've been trying to get SmartGit/Hg to run from a portable drive. To do this, I am using the "generic" version that runs on Java alone. Unfortunately, every time I try to launch it, the following errors show up:
Error…
mnadareski
- 71
1
vote
1 answer
Free versioning server
I know services like GitHub and BitBucket, but I need even a little but private space to do versioning (doesn't really matters if it's git, hg or svn).
Years ago I subscribed to a service that gave me 200mb max storage and a private SVN…
Matteo Toto
- 267
1
vote
1 answer
The "Add Selected Files" command of the Visualhg extension crashes VS2010
I just installed the Mercurial Source Control Plugin (visualhg) for MS Visual Studio 2010 to try out some features of source control management systems.
When I clicked on the "Add Selected Files" command, VS2010 just crashed and the Windows Error…
kercker
- 51
1
vote
2 answers
Bash command not found (trying to integrate Beyond Compare with Mercurial and using it within Cygwin)
I'm trying to integrate beyond compare with mercurial and I've copy & pasted the necessary lines from the Using Beyond Compare with Version Control Systems page for mercurial into my .hgrc file located in C:\cygwin\home\jerickson (my cygwin home…
Jon Erickson
- 2,344
1
vote
1 answer
Reduce file move size
So, recently, I have rearranged the files in my company's main code repo so it is more sorted and such. This involved moving almost every file to a different location in the repository and that was the only change that was made. This resulted in the…