Matt Mackall
44c538327c
dates: Fix bare times to be relative to "today"
2008-03-11 17:42:51 -05:00
Matt Mackall
555abf8390
dates: improve timezone handling
...
datestr:
- add format specifiers %1 and %2 for timezone hours and minutes
- remove timezone and timezone format options
- correctly find timezone hours and minutes for fractional and negative timezones
- update users
strdate:
- correctly find timezone hours and minutes for fractional and negative timezones
2008-03-11 17:42:41 -05:00
Matt Mackall
865487e7f2
revlog: report node and file when lookup fails
2008-03-11 17:42:29 -05:00
Matt Mackall
a62e61efb8
Merge with crew
2008-03-11 17:42:26 -05:00
Bryan O'Sullivan
f9f5e47a2f
fetch: don't proceed if working directory is missing files (issue988)
2008-03-11 11:38:12 -07:00
Bryan O'Sullivan
a26a2d3c66
fetch: rename --force-editor option to --edit, for consistency
2008-03-11 11:30:42 -07:00
Matt Mackall
309ee9f391
dates: fix fractional timezone display rounding bug
2008-03-10 02:54:37 -05:00
Stephen Deasey
8fd0ead6b5
churn: show comitter email addresses unclipped (bug 1023)
...
Email addresses were being clipped at a hard-coded 20 chars. Measure
the length of all email addresses and accommodate the longest.
2008-03-09 17:34:55 +00:00
Brendan Cully
fd1a53bce5
gitweb: use {url} as entrypoint in notfound.tmpl instead of /
2008-03-08 17:28:25 -08:00
Brendan Cully
e1863ee903
Support web.baseurl in hgwebdir, overriding SCRIPT_NAME
2008-03-08 17:19:18 -08:00
Thomas Arendsen Hein
352ee8c7f1
Fixed typo in tag help, found by John Coomes
2008-03-08 12:40:33 +01:00
Peter Arrenbrecht
33ae436dd8
hgweb: fix test results missed by 6218:94688fe8c7c3
2008-03-07 08:38:07 +01:00
Brendan Cully
c592a63caf
gitweb: remove some line breaks in archive and rss columns.
...
Clean up archive formatting a little in the index page.
2008-03-06 18:40:10 -08:00
Joel Rosdahl
c26213193c
Avoid importing mercurial.node/mercurial.repo stuff from mercurial.hg
2008-03-06 22:51:16 +01:00
Joel Rosdahl
10088cb75f
Add missing import of sys
2008-03-06 22:23:41 +01:00
Joel Rosdahl
bd755ed723
convert: Remove unused clone method
2008-03-06 22:23:41 +01:00
Joel Rosdahl
2cc739b2aa
convert: Fix unbound name error in the subversion backend
2008-03-06 22:23:41 +01:00
Joel Rosdahl
9c3f9d4bd6
imerge: Fix unbound name error and add a test case
2008-03-06 22:23:41 +01:00
Joel Rosdahl
4f8012378a
Remove unused imports
2008-03-06 22:23:41 +01:00
Joel Rosdahl
5dae3059a0
Expand import * to allow Pyflakes to find problems
2008-03-06 22:23:26 +01:00
Thomas Arendsen Hein
deb94bc7fe
Removed trailing spaces from everything except test output
2008-03-07 00:24:36 +01:00
Thomas Arendsen Hein
9ff01ae3fe
Replaced tab in run-tests.py
2008-03-07 00:01:13 +01:00
Peter Arrenbrecht
85ef77aca1
tests: add --keep-tmp to run-tests.py to debug test environment
...
When set, you can find the working dir of the test run as a
uniquely named subdirectory of --tmpdir so you can inspect
it.
2008-03-05 08:00:05 +01:00
Bryan O'Sullivan
7ccd4e897d
fetch: make test reproducible, tiny code cleanup
2008-03-05 09:20:57 -08:00
Bryan O'Sullivan
d160458ee9
fetch: switch the default parent used for a merge
...
This treats newly pulled changes as authoritative, and local changes as
the "satellite" changes.
The prior default behaviour is still available, via the --switch-parent
option.
2008-03-05 09:10:45 -08:00
Peter Arrenbrecht
b99cdae6e3
mq: test for qclone of http repo+queue
...
tests 4fa9f56bd8a3 and 4afb45fca538
2008-03-03 21:48:43 +01:00
Jesse Glick
5a5b96808a
When failing to load an extension, show where Hg tried to load it from.
2008-03-03 12:46:57 -05:00
Thomas Arendsen Hein
cc608e0715
hgweb/annotate: handle binary files like hgweb/file
2008-03-02 23:32:13 +01:00
Thomas Arendsen Hein
d291778049
test-status: Make assert function definition sh compatible.
2008-03-02 20:54:00 +01:00
Thomas Arendsen Hein
d659d68d7a
Extend/correct f488b5acd598 regarding -qA and ignored files.
...
hg status -qA will now hide untracked files as described in the doc string.
2008-03-02 13:52:34 +01:00
Zoran Bosnjak
ddaa8e2b8b
'hg status -q' output skips non-tracked files.
...
The '-q' flag was ignored in status command. But this flag
can be used to hide non-tracked files in hg status output.
This small correction makes status command more general,
similar to 'svn status', where '-q' flag has the same effect.
The '-u' and '-A' flags have priority over '-q'.
A testcase and doc-string for status was extended to cover
'-q' flag.
2008-03-01 22:30:03 +01:00
Brendan Cully
4ef0063f6e
highlight: forgot import
2008-02-29 14:48:21 -08:00
Brendan Cully
1ba6154655
highlight: guess by text when path name is ambiguous
...
Although the docs claim that guess_lexer_for_filename will fall back
to using file data, my ubuntu 7.10 pygments library seems to ignore
the text argument. So call guess_lexer explicitly on failure.
2008-02-29 14:47:07 -08:00
Brendan Cully
8d21038955
highlight: make div trimmer work when lexer fails to identify text.
...
In this case, there is no initial <span> tag.
2008-02-29 14:21:15 -08:00
Brendan Cully
bb081ab6da
highlight: use iter() instead of generator comprehension
2008-02-29 11:13:50 -08:00
Dirkjan Ochtman
104e743dab
mq: remove unimplemented option -f for strip
2008-02-29 09:54:28 +01:00
Brendan Cully
7978fadb5b
highlight: bail out if file is binary
2008-02-28 22:04:22 -08:00
Brendan Cully
c74bac600d
highlight: support annotate, and reduce layering violations.
2008-02-28 21:35:27 -08:00
Thomas Arendsen Hein
9f92f48ca6
Introduce templateopts and logopts to reduce duplicate option definitions.
2008-02-29 02:45:12 +01:00
Thomas Arendsen Hein
5ef42250f9
Add option -l/--limit to hg incoming and hg outgoing.
2008-02-29 02:15:31 +01:00
Thomas Arendsen Hein
5727413b6a
Move finding/checking the log limit to cmdutil
2008-02-29 01:51:23 +01:00
Thomas Arendsen Hein
824190bf69
Make hg debugancestor accept -R by making it an optionalrepo command.
2008-02-29 01:25:31 +01:00
Thomas Arendsen Hein
4ccb125e93
debugancestor: use *args instead of *opts, to not confuse with option dicts.
2008-02-29 01:14:37 +01:00
Marti Raudsepp
e8713cc272
mq: Cleanup: update outdated file header.
2008-02-28 17:37:56 +02:00
Marti Raudsepp
ceefe77d88
convert: Clean up authormap key=value splitting.
...
Introduces a subtle parsing difference: dstauthor can now contain '='
characters.
2008-02-28 17:37:56 +02:00
Marti Raudsepp
40ade60f8b
convert: Avoid redundant newline on authormap errors.
...
The extra rstrip is necessary in case the file has uses different line
terminators (i.e. CRLF).
2008-02-28 17:37:56 +02:00
Marti Raudsepp
c1c082f372
convert: Ignore empty lines in authormap file.
2008-02-28 17:37:56 +02:00
Thomas Arendsen Hein
da3b50be51
Add config option to disable putting .hg_archival.txt inside archives.
2008-02-28 22:39:59 +01:00
Dirkjan Ochtman
031a486c8a
add a blame alias for annotate
...
The original cvs command was called blame. SVN has both, and other VC systems
typically also have this as an alias. Makes things easier for converts.
2008-02-28 19:08:04 +01:00
Dirkjan Ochtman
90d248f9a6
warning on push should mention heads, not branches
...
This makes the concept easier to relate to similar messages given on pull,
and allows for a distinction between heads and (named) branches.
2008-02-28 17:51:04 +01:00