mpm@selenic.com
d5d19174b2
hgweb: make navigation of changesets a bit nicer
2005-05-26 22:47:43 -08:00
mpm@selenic.com
1dd7e5c920
hgweb: alternating colors for multifile diffs
2005-05-26 20:37:05 -08:00
mpm@selenic.com
3d6a44cc6c
trivial tweak to merge3
2005-05-26 18:20:24 -08:00
mpm@selenic.com
59375bb06a
hg diff: fix missing final newline bug
2005-05-26 13:02:28 -08:00
mpm@selenic.com
546aa0fdbb
hgweb: add tags links and manifest links
...
This adds a simple new tags page to browse by tag, adds the tag link
everywhere, and adds manifest links to the tags and changelog pages.
2005-05-26 12:24:01 -08:00
mpm@selenic.com
474171f31c
hgweb: don't blow up on search for unknown keys
2005-05-26 10:11:05 -08:00
mpm@selenic.com
7ac7091e05
Add tag/rev/node search to hgweb
2005-05-26 10:08:47 -08:00
mpm@selenic.com
9be61ee466
Make fancyopts handle no arguments
...
This lets hg serve work with no args.
2005-05-26 09:56:20 -08:00
mpm@selenic.com
f86593199d
Make undo and recover friendlier
...
Add them to the help display, have them report failure
2005-05-26 09:48:50 -08:00
mpm@selenic.com
683f21be6a
Implement recover and undo commands
...
This adds an interface to transaction to rollback with a given journal file
and commands to rollback an existing .hg/journal or .hg/undo.
2005-05-26 09:04:54 -08:00
mpm@selenic.com
0058e326b8
Simply repository locking
...
This is a first pass at implementing repo locking. Next up, journal
recovery and undo.
2005-05-26 08:53:04 -08:00
mpm@selenic.com
7bd4038f51
Add 'hg serve' command for stand-alone server
...
This adds a simple stand-alone web server mode to hg that exports the
current repo for merging and browsing. The default port is 8000.
2005-05-25 16:27:10 -08:00
mpm@selenic.com
949217673f
Install the templates where they can be found by hgweb.py
...
This ought to use package_data but that doesn't exist in Python 2.3.
So we do a hack of install_data and use glob.
This also adds templatepath() to hgweb.py which finds the templates
relative to hgweb.py's location.
2005-05-25 16:21:06 -08:00
mpm@selenic.com
2424ff846c
Fix some broken parent links in hgweb
2005-05-25 09:04:38 -08:00
mpm@selenic.com
7400685c33
Merge from hgweb
2005-05-25 08:54:54 -08:00
mpm@selenic.com
34f1196e86
Bail on attempts to do an empty commit
2005-05-25 08:53:34 -08:00
mpm@selenic.com
a9d4acea6a
Pass filename to $HGMERGE
...
This lets the merge program be slightly more user-friendly
2005-05-24 23:34:06 -08:00
mpm@selenic.com
0616f6d8db
Improve pruning of branches in outstanding changeset algorithm
...
These changes make the client keep track of what it's seen more
carefully to avoid some redundant requests.
2005-05-24 23:13:25 -08:00
mpm@selenic.com
dba1a9fc73
A new ancestor algorithm
...
The old ancestor algorithm could get fooled into returning ancestors
closer to root than it ought to. Hopefully this one, which strictly
orders its search by distance from room, will be foolproof.
2005-05-24 23:11:44 -08:00
mpm@selenic.com
cbe151d218
Handle merge with deletions
...
If you merge with a repo that has deleted a file after editing it, hg
attempted to resolve the file. This (correctly) resulted in hg verify
errors because the resolved version didn't show up in the manifests.
This moves the manifest resolution before file resolution and decides
which files to resolve based on the (partially) resolved manifest.
After files are resolved, the final manifest is committed.
2005-05-24 20:30:35 -08:00
jake@edge2.net
8778053fe5
changed pos to rev for changelog cmd, changed & to ;
2005-05-24 07:42:05 -07:00
mpm@selenic.com
a2b716acff
Fix transaction handling bug by reverting fileopener change
2005-05-23 22:14:41 -08:00
mpm@selenic.com
e4397937b5
Prettify the web interface
...
Add header, footer templates
Add null parent handling
Combine files and directories
Add parity flag for alternating line colors
Add line numbers to filerevision
2005-05-23 20:57:48 -08:00
mpm@selenic.com
84eb10c391
Minor safety checks to manifest diff
2005-05-23 16:05:48 -08:00
mpm@selenic.com
61d83d35a2
Revamped templated hgweb
2005-05-23 16:00:02 -08:00
mpm@selenic.com
97321927a5
Merge from hgweb
2005-05-22 08:13:38 -08:00
jake@edge2.net
74291d2018
added annotate
...
fixed error page to get tmpl_dir
2005-05-21 22:43:14 -07:00
jake@edge2.net
3e268da5fc
change template to a generator
...
add write call to output generator
2005-05-21 20:31:54 -07:00
jake@edge2.net
b58f1149d5
fix problem with non wrapping file list
...
fix file list not appearing in checkin
2005-05-21 16:21:16 -07:00
jake@edge2.net
318e83d25f
added template support for some hgweb output, also, template files for
...
the parts that have been converted
2005-05-21 16:13:42 -07:00
mpm@selenic.com
e7e047fdee
Add safety checking to mpatch
2005-05-21 13:14:58 -08:00
jake@edge2.net
1f51ebafe5
making hgweb class
2005-05-21 11:46:16 -07:00
jake@edge2.net
e4aeedbc5c
moving hgweb to mercurial subdir
2005-05-21 11:35:26 -07:00
mpm@selenic.com
a264d87bbd
Fix braindamaged import in mdiff.
2005-05-20 19:19:25 -08:00
mpm@selenic.com
b4d3ada8cd
Remove some debugging code from lazyparser
2005-05-20 17:50:11 -08:00
mpm@selenic.com
36152aee36
Remove python version of the patches code
2005-05-20 17:49:25 -08:00
mpm@selenic.com
4e35c669ab
Add a function to return the new text from a binary diff
2005-05-20 17:42:29 -08:00
mpm@selenic.com
ea4eabe690
Add code to retrieve or construct a revlog delta
2005-05-20 17:40:24 -08:00
mpm@selenic.com
484dde5595
Add fileopener to move some pathname knowledge from filelog to repository
2005-05-20 17:38:01 -08:00
mpm@selenic.com
a8e8d775f0
Make revision code slightly faster
2005-05-20 17:36:02 -08:00
mpm@selenic.com
a3b0765ce7
Only use lazy indexing for big indices and avoid the overhead of the
...
lazy index in the small index case.
2005-05-20 17:35:20 -08:00
mpm@selenic.com
06820561ca
Make lazyindex load slightly faster
2005-05-20 17:34:04 -08:00
mpm@selenic.com
24c5c243a2
Simplify checkout slightly, replace checkdir with os.makedirs
2005-05-20 17:33:24 -08:00
mpm@selenic.com
066f1e4183
Sort files on check-in for good I/O patterns
2005-05-20 17:31:55 -08:00
mpm@selenic.com
8b0e7913c6
Make compression more intelligent:
...
- we don't attempt to compress things under 44 bytes (empirical)
- we check whether larger objects actually compress
- we tag objects to indicate their compression
NUL means uncompressed and starts with NUL
x means gzipped and starts with x (handy)
u means uncompressed, drop the u
2005-05-20 17:31:12 -08:00
mpm@selenic.com
c60581071a
Move hg from storing files in data with base64 encoding to full
...
pathnames with .i and .d extensions. This means we naturally get good
FS layout, and cp and tar fix things up nicely rather than pessimizing
layout.
2005-05-20 17:27:21 -08:00
mpm@selenic.com
836655a3c5
Annotate was being too clever trying to work in place, and triggering
...
its assert. Simplify it, fix it, and speed it up a tiny bit.
2005-05-20 17:22:02 -08:00
mpm@selenic.com
7a540c10d5
Warn if we fail to truncate something
2005-05-20 17:20:39 -08:00
mpm@selenic.com
aea9850302
Make prompting go
...
Minor UI tweaking
Add merge prompting
2005-05-18 18:25:37 -08:00
mpm@selenic.com
fb1218fe40
Add paranoia to diff code
2005-05-18 16:59:54 -08:00