Commit Graph

2254 Commits

Author SHA1 Message Date
Thomas Arendsen Hein
be2e89d008 Corrected synopsis of hg heads 2006-10-25 08:11:17 +02:00
Alexis S. L. Carvalho
7342f50f68 revlog.py: always return tuples from parents and parentrevs
There's at least one place doing parentrevs(rev) != (rev-1, -1),
which is always true with revlog v0, since parentrevs returns a list
in this case.
2006-10-24 23:00:43 -03:00
Matt Mackall
8adb03c697 Remove [-b] options from help syntax lines 2006-10-24 17:22:07 -05:00
Matt Mackall
8b1ec529ff Deprecate old --branch/branches options 2006-10-24 17:07:11 -05:00
Matt Mackall
afebc36749 add branch and branches commands 2006-10-24 16:49:36 -05:00
Brendan Cully
45cd7b7440 Merge with mpm 2006-10-24 13:42:21 -07:00
Brendan Cully
13601730e7 hgweb: add heads to gitweb summary 2006-10-24 13:31:01 -07:00
Matt Mackall
49503fb772 Merge with crew 2006-10-24 13:46:04 -05:00
Alexis S. L. Carvalho
9ede4a440a Split branchtags into two additional functions.
This makes it easier to override only parts of the cache saving process.
2006-10-23 23:32:56 -03:00
Matt Mackall
862620d6bf localrepo: add separate methods for manipulating repository data
This change adds new methods sjoin and sopener for accessing the
following elements:

 - changelog
 - manifest
 - data/
 - journal and undo log
 - repo lock

This will simplify sharing this data and escaping paths
2006-10-23 17:12:20 -05:00
Thomas Arendsen Hein
37655ca869 Commit username: Better error message, abort on empty name, fix documentation. 2006-10-23 14:56:51 +02:00
Alexis S. L. Carvalho
5d26c882ab hgweb: make #motd# available for all templates 2006-10-22 21:47:37 -03:00
Thomas Arendsen Hein
a686645595 Fix "templater object got multiple values for keyword argument 'motd'"
caused by adding motd to the call to the index template (dcb6e0ff8606)
2006-10-21 20:51:24 +02:00
Thomas Arendsen Hein
b6713ee084 Add #motd# to gitweb pages. Needs to pass self.motd to index template, too. 2006-10-21 20:19:46 +02:00
Benoit Boissinot
7c004b60e9 fix errors spotted by pychecker 2006-10-19 16:55:34 +02:00
Benoit Boissinot
3f09dfef56 use xrange instead of range 2006-10-19 14:16:51 +02:00
Benoit Boissinot
2c66934a73 use xrange instead of range 2006-10-19 14:03:41 +02:00
Thomas Arendsen Hein
cdef5ba8bf Corrected SSH configuration example in pull help. 2006-10-19 13:00:02 +02:00
Benoit Boissinot
1bccbf1e1e revlog.children: use parentrevs instead of parents 2006-10-19 10:23:27 +02:00
Matt Mackall
8be8fbef1f Minor tags optimization 2006-10-18 22:38:23 -05:00
Brendan Cully
8b8e098e6a Add --rev option to status 2006-10-18 14:24:38 -07:00
Benoit Boissinot
dc9483558a makes username mandatory 2006-10-18 22:24:03 +02:00
Matt Mackall
aa8e8c430f Use file contexts in tags code 2006-10-18 14:14:59 -05:00
Matt Mackall
e8cb00b8c7 filecontext: report False for missing files 2006-10-18 14:06:48 -05:00
Brendan Cully
c3df18d34b patch: return list of modified files even when an exception is raised
The file list is passed in as an argument and updated in place.
This fixes issue399.
2006-10-18 10:37:34 -07:00
Matt Mackall
4a6017f8e8 Only look up tags and branches as a last resort 2006-10-18 11:44:56 -05:00
Thomas Arendsen Hein
a67b9554ca Added extra changeset info to templater and map-cmdline.default. 2006-10-18 18:09:32 +02:00
Thomas Arendsen Hein
affb901953 Add new branch info to templater and use it in map-cmdline.default.
The template currently shows old (hg log -b style) branch tags, too,
but not in the same way as the built in changeset_printer.
2006-10-18 17:58:51 +02:00
Matt Mackall
007b438590 If we can't write the branch cache, fail quietly. 2006-10-18 10:46:51 -05:00
Thomas Arendsen Hein
4d2c842ef7 Don't show empty list of files in hg log -v. 2006-10-18 12:26:12 +02:00
Thomas Arendsen Hein
2ebd5e852d Show extra changeset info for log/tip/heads/... --debug 2006-10-18 11:55:32 +02:00
Benoit Boissinot
2bc50de330 invalidate the branch cache when sanity check fails 2006-10-18 09:26:23 +02:00
Eric Hopper
b804ede3e2 Stop erroring out pull -r and clone -r if repository isn't local. 2006-09-09 18:25:07 -07:00
Eric Hopper
68a9f0d42a sshrepo: add passing of lookup exceptions 2006-09-09 18:25:06 -07:00
Eric Hopper
cab8740b9b Adding changegroupsubset and lookup to ssh protocol so pull -r and
clone -r can be supported.
2006-09-09 18:25:06 -07:00
Matt Mackall
7b5e14caef httprepo: add support for passing lookup exception data 2006-10-18 02:08:36 -05:00
Eric Hopper
68f926ec7d Adding changegroupsubset and lookup to web protocol so pull -r and
clone -r can be supported.
2006-09-09 18:25:06 -07:00
Matt Mackall
4b6a4d5cb0 Improve branch cache sanity check for mq 2006-10-18 02:08:33 -05:00
Matt Mackall
785d7f44cb merge: fix branch setting
(and remove debugging message)
2006-10-17 22:59:01 -05:00
Matt Mackall
8c602e592a imported patch foo 2006-10-17 22:34:43 -05:00
Matt Mackall
12537f44dc commit: read branch with workingctx 2006-10-17 22:26:14 -05:00
Matt Mackall
af917449ea branchtags: use changectx
setting self.branchcache on entry avoids recursions in lookup
2006-10-17 22:09:56 -05:00
Matt Mackall
833cdcbbe2 revlog.lookup tweaks
- fast path for binary node ids
- direct lookup for full hex ids
- silly change to bin_id
2006-10-17 22:07:54 -05:00
Matt Mackall
04360912e9 Merge with crew 2006-10-17 19:04:13 -05:00
Matt Mackall
bd3a8da1a7 Merge with crew 2006-10-17 18:54:37 -05:00
Matt Mackall
fd5ffbb139 Add branch support to commit 2006-10-17 18:32:00 -05:00
Matt Mackall
587d11648a Make lookup aware of branch labels
adjust precedence order slightly:

- '.'
- tags
- branch labels
- revlog order
2006-10-17 18:31:56 -05:00
Matt Mackall
fefe69bcd1 Add branchtags function with cache
- cache stores tipmost node and rev and node,label pairs
- if cache is out of date, scan new changesets
- write new cache out after scan
2006-10-17 18:31:18 -05:00
Matt Mackall
7a65ba3d4f Update branch on checkout/update 2006-10-17 18:30:20 -05:00
Matt Mackall
2b5eed953c Report branch for hg id 2006-10-17 18:30:19 -05:00