Hi,
I'm using mercurial. The main clone is called "farm". I made a clone of it called "myfarm" which I've been developing locally. Now I want to push the changes from my clone to the real clone hosted at googlecode.
So in the context of my own clone "myfarm", I run [hg incoming farm]. This seems to list all the changes that have been m...
I'm looking for a good tutorial for Mercurial.
...
How can I use the Mercurial API to determine the changes made to a repository for each changeset? I am able to get a list of files relevant to a particular revision, but I cannot figure out how to tell what happened to that file.
How can I answer these questions about each file in a changeset:
Was it added?
Was it deleted?
Was it modi...
Hi,
How would you rsync files that are not tracked by mercurial between two repositories?
My .hgignore looks like this:
syntax: glob
*.mat
*.pdf
*.asv
*.bz
*.tar
*.zip
*.7zip
*.rar
*.gz
*.wmv
*.png
*.jpg
*.jpeg
*.bmp
*.tif
*.tiff
*.gif
*.avi
*.mpg
*.node
*.ncb
*.pdb
*.ele
*.hh
*.html
*.htm
*.xsl
*.log
*.o
*.ilk
*.cvs*
*.vproj
*.pro...
This question assumes there's a "blessed" central repository that members of a team
clone from
push to when they have contributions that they want other team members to see
pull from when they want to see other people's contributions.
etc.
If so, I would assume hg update is not analogous to svn update (why would there be two commands...
I've just installed latest 1.4.3 version of Mercurial and see new status messages for unknown/modified files.
Previous versions showed this for modified files:
M README.txt
This new version shows some gibberish like:
←[0;32;1m file.txt←[0m
What is this and how to interpret it?
Also, is it possible to revert to the old style notat...
Is there a way to associate a bunch of Mercurial changesets with a named branch after they have been committed, i.e. retroactively ?
...
I want to ignore everything BUT a subfolder in Mercurial.
The folder I want to keep:
a/b/c/d/e/f
Everything else under:
a/b
Should be ignored.
I'm using regexp mode in the .hgignore file. This is what I've so far:
a/b/(?!c)
a/b/c/(?!d)
a/b/c/d/(?!e)
a/b/c/d/e/(?!f)
Even if this works fine, I would like to shrink it to a single...
I'm in the process of learning mercurial, and even though I installed TortoiseHG, I find myself turning more and more to the command line.
So often I would like to check what the result of a given hg command would be, before I actually run it, is there any equivalent to the -whatif switch known from powershell i can use, or how would yo...
I'm looking for a book (or equivalent) to help me go from using hg to basically do the same things I do with svn to using hg as it was really intended. It should cover the internals and how to extend hg etc.
...
I'm trying to use the hg-git Mercurial extension on Windows (Windows 7 64-bit, to be specific). I have Mercurial and Git installed. I have Python 2.5 (32-bit) installed.
I followed the instructions on http://hg-git.github.com/ to install the extension. The initial easy_install failed because it was unable to compile dulwich without Visu...
My website is a mercurial repository with multiple subrepositories. I need to make sure I'm denying access to all files in every .hg directory on the server.
For example, I have http://example.com/.hg/ and http://example.com/subrepo1/.hg/
I've added the following to .htaccess:
<Files ~ "^\.(hg|ht)">
Order allow,deny
Deny from ...
This is somewhat related to my security question here. Is it a bad idea to use an hg / mercurial repository for a live website? If so, why?
Furthermore, we have dev, test and production installations of our website, like dev.example.com, test.example.com and www.example.com. If it's a bad idea to use a repository for a live/production w...
I am trying to grok Mercurial and hope I am just getting confused here!
I have a repository ('main') that I have cloned ('clone'), , both on my own machine. Both were completely in sync with each other.
I decided to play with named branches so the next time I committed on my 'clone' I did it under a branch name of 'case1212' and while ...
Hi,
I set up a repository on another computer for which I want to start cloning over http. I set up apache with the directive as stated below, and in the directory I have my index.cgi file as provided by mercurial. I can clone a repository just fine if it's empty, but if it contains files, I get a 500 error. Looking at the error logs...
I just scripted out my SQL Server stored procs, table definitions, etc using SQL Server Management Studio, and tried to add them to my Mercurial source control repository. They got added just fine, but now when I change and diff them, Mercurial calls them "binary files" and doesn't give me a proper unified diff.
I thought the encoding ...
I have successfully set up an HgWebDir instance over CGI with Apache, and I can hg push and hg pull to all the repositories listed on the page, but I cannot create a new repository without ssh and such as it gives me ann "Operation not supported via http" error.
Is that a configuration error or it's really not supported? Has anyone ever...
I am experimenting with Hg with a view to moving away from SVN but wanted some opinions on how I should structure my Hg repository. I come from a SVN background (which may of tainted my outlook on how this should work!) and my repository currently looks something like this:
Project1
trunk
branches
1.0
1.1
Project2
trunk
...
I'm struggling on how to correctly track nested repositories using TortoiseHg.
I have a main repository that tracks my whole project. This project contains several little plugins that are stored inside a plugins/ subdirectory.
I would love to track each plugin independently (committing and pushing to BitBucket for each one of them) whi...
According to HG manual:
By default this command prints
revision number and changeset id,
tags, non-trivial parents, user, date
and time, and a summary for each
commit. When the -v/--verbose switch
is used, the list of changed files and
full commit message are shown.
I have tried hg log -v but still it does not show the ...