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
0ccf847c00
Update the README a bit
2005-05-25 16:40:22 -08:00
mpm@selenic.com
970955c99d
Add example CGI script
...
This gives an example of how to easily use hgweb via CGI
2005-05-25 16:28:23 -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
33b3059287
Add options to annotate for user/rev/changeset
...
This eliminates the blame command and makes annotate more flexible.
2005-05-25 08:53:01 -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
mpm@selenic.com
1bdc9f0c42
Minor fixes to verify
2005-05-24 20:29:38 -08:00
jake@edge2.net
579f538a2d
fixed problem with head/body tags, added dtd, fixed table attributes
...
add quotes around all attributes (w3c recommendation)
pages pass w3c validator
2005-05-24 16:08:09 -07:00
jake@edge2.net
8778053fe5
changed pos to rev for changelog cmd, changed & to ;
2005-05-24 07:42:05 -07:00
jake@edge2.net
1802614df3
hgweb is no longer a script
2005-05-24 07:33:12 -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
27835c58e5
Fix pos in navbar
...
Fix bad parent link in changelog
2005-05-23 21:15:36 -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
12c3bda8c3
Simple script to recompress a log file
2005-05-23 16:06:25 -08:00
mpm@selenic.com
84eb10c391
Minor safety checks to manifest diff
2005-05-23 16:05:48 -08:00
mpm@selenic.com
75fe869ada
Minor updates to comparison
2005-05-23 16:05:05 -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
mpm@selenic.com
6ff7eab053
Make hg diff handle files that have been added but not yet committed.
2005-05-21 17:26:44 -08:00
mpm@selenic.com
ffa51818f8
Fix diff and export not showing added files
2005-05-21 17:03:12 -08: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
c60061b78a
Remove debugoldmerge command
2005-05-20 17:47:13 -08:00
mpm@selenic.com
04245ab9dc
hg history: don't print file list without -v switch
2005-05-20 17:46:47 -08:00
mpm@selenic.com
3ede7375ba
Subdir support for annotate
2005-05-20 17:45:03 -08:00
mpm@selenic.com
d35617bec8
Use revlog.delta and mdiff.patchtext to massively speed up processing
...
of manifests. This lets us verify a 28k changeset kernel repo in under
two minutes.
2005-05-20 17:44:34 -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