##// END OF EJS Templates
fix calculation of new heads added during push with -r...
fix calculation of new heads added during push with -r fix issue450

File last commit:

r3847:048e9bc5 default
r3923:27230c29 0.9.3 default
Show More
README
99 lines | 2.8 KiB | text/plain | TextLexer
mpm@selenic.com
README tidy-up...
r445 MERCURIAL QUICK-START
mpm@selenic.com
README: integrate various changes and suggestions from Rafael Villar Burke...
r204 Setting up Mercurial:
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
mpm@selenic.com
README: integrate various changes and suggestions from Rafael Villar Burke...
r204 Note: some distributions fails to include bits of distutils by
mpm@selenic.com
README: integrate some changes from Kevin Smith...
r205 default, you'll need python-dev to install. You'll also need a C
compiler and a 3-way merge tool like merge, tkdiff, or kdiff3.
mpm@selenic.com
README: integrate various changes and suggestions from Rafael Villar Burke...
r204
First, unpack the source:
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
$ tar xvzf mercurial-<ver>.tar.gz
$ cd mercurial-<ver>
mpm@selenic.com
README: integrate various changes and suggestions from Rafael Villar Burke...
r204
Vadim Gelfer
update README....
r2208 When installing, change python to python2.3 or python2.4 if 2.2 is the
default on your system.
mpm@selenic.com
README: integrate some changes from Kevin Smith...
r205 To install system-wide:
mpm@selenic.com
README: integrate various changes and suggestions from Rafael Villar Burke...
r204
Vadim Gelfer
update README....
r2208 $ python setup.py install --force
mpm@selenic.com
README: integrate various changes and suggestions from Rafael Villar Burke...
r204
mpm@selenic.com
README: integrate some changes from Kevin Smith...
r205 To install in your home directory (~/bin and ~/lib, actually), run:
mpm@selenic.com
README: integrate various changes and suggestions from Rafael Villar Burke...
r204
Vadim Gelfer
update README....
r2208 $ python setup.py install --home=${HOME} --force
mpm@selenic.com
README: mention lib64/...
r507 $ export PYTHONPATH=${HOME}/lib/python # (or lib64/ on some systems)
$ export PATH=${HOME}/bin:$PATH # add these to your .bashrc
mpm@selenic.com
README: integrate some changes from Kevin Smith...
r205
mpm@selenic.com
README: integrate various changes and suggestions from Rafael Villar Burke...
r204 And finally:
Matt Mackall
Update README to mention hg debuginstall
r3847 $ hg debuginstall # run some basic tests
$ hg # show help
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
If you get complaints about missing modules, you probably haven't set
PYTHONPATH correctly.
Setting up a Mercurial project:
Vadim Gelfer
update README....
r2208 $ hg init project # creates project directory
$ cd project
# copy files in, edit them
$ hg add # add all unknown files
$ hg commit # commit all changes, edit changelog entry
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
Mercurial will look for a file named .hgignore in the root of your
Matt Mackall
Slim down and update README a bit
r633 repository which contains a set of regular expressions to ignore in
file paths.
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
Branching and merging:
Matt Mackall
Some README updates
r3507 $ hg clone project project-work # create a new branch
$ cd project-work
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0 $ <make changes>
$ hg commit
Matt Mackall
Some README updates
r3507 $ cd ../project
$ hg pull ../project-work # pull changesets from project-work
$ hg merge # merge the new tip from project-work into
mpm@selenic.com
Update README...
r261 # our working directory
Matt Mackall
Slim down and update README a bit
r633 $ hg commit # commit the result of the merge
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
Importing patches:
Matt Mackall
Some README updates
r3507 Simple:
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0 $ patch < ../p/foo.patch
Vadim Gelfer
update README....
r2208 $ hg commit -A
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
Matt Mackall
Some README updates
r3507 Fast:
Thomas Arendsen Hein
Cleanup of tabs and trailing spaces.
r1308 $ cat ../p/patchlist | xargs hg import -p1 -b ../p
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
mpm@selenic.com
README: integrate some changes from Kevin Smith...
r205 Exporting a patch:
(make changes)
$ hg commit
Matt Mackall
Some README updates
r3507 $ hg export tip > foo.patch # export latest change
mpm@selenic.com
README: integrate some changes from Kevin Smith...
r205
mpm@selenic.com
Minor changes for release 0.4e
r63 Network support:
mpm@selenic.com
README tidy-up...
r445 # pull from the primary Mercurial repo
Thomas Arendsen Hein
Cleanup of tabs and trailing spaces.
r1308 foo$ hg clone http://selenic.com/hg/
Matt Mackall
Slim down and update README a bit
r633 foo$ cd hg
mpm@selenic.com
Update README to discuss remote pull, rsync, and the hg repo...
r1
Thomas Arendsen Hein
Improved examples for network support in README....
r3689 # make your current repo available via http://server:8000/
foo$ hg serve
Thomas Arendsen Hein
Cleanup of tabs and trailing spaces.
r1308
Thomas Arendsen Hein
Improved examples for network support in README....
r3689 # pushing and pulling changes to/from a remote repo with SSH
foo$ hg push ssh://user@example.com/my/repository
foo$ hg pull ssh://user@example.com//home/somebody/his/repository
mpm@selenic.com
Tweak README for branch, push, and .hgrc...
r327
Thomas Arendsen Hein
Improved examples for network support in README....
r3689 # merge changes from a remote machine (e.g. running 'hg serve')
bar$ hg pull http://foo:8000/
Vadim Gelfer
update README....
r2208 bar$ hg merge # merge changes into your working directory
Thomas Arendsen Hein
Improved examples for network support in README....
r3689 bar$ hg commit # commit merge in to your local repository
mpm@selenic.com
Minor changes for release 0.4e
r63
mpm@selenic.com
Update the README a bit
r160 # Set up a CGI server on your webserver
mpm@selenic.com
README tidy-up...
r445 foo$ cp hgweb.cgi ~/public_html/hg/index.cgi
foo$ emacs ~/public_html/hg/index.cgi # adjust the defaults
mpm@selenic.com
Minor README updates
r969
For more info:
Documentation in doc/
Mercurial website at http://selenic.com/mercurial