aboutsummaryrefslogtreecommitdiff
path: root/README
blob: c63a0dee8750b466c9013b3b18d87997f34bb597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
This is a simple Mercurial extension which adds an "eggtag" command.
When you want to make a new release, just type

   hg eggtag 0.1

The command will automatically tag and add an entry to your egg's
release-info file corresponding to this release.

You only need the python file (can be downloaded using the source code
browser, and then viewing the "raw" source). Just drop it in your ~/.hg
directory and add the following to your .hgrc:

   [extensions]
   egg-author=~/.hg/egg-author.py

By default, eggtag will also update the .meta-file of your egg.
If you don't like this behaviour, you can turn it off by adding
the following to your .hgrc:

   [egg-author]
   update-meta=False

This can also be overridden on a per-repository basis by adding the
section to your repository's .hg/hgrc file.  The value can obviously
also be True if you want to override the False value from your ~/.hgrc.


If you want to run the meta-file updater manually (regardless of the
update-meta option), you can run the update-meta command:

   hg update-meta

This will only update the file, but not commit it so that you can
review it before committing it.