Commit Graph

8332 Commits

Author SHA1 Message Date
Sune Foldager
e88b228e4c spartan: add branches page 2009-05-12 11:58:39 +02:00
Sune Foldager
02b5ecc2fb gitweb: add branches page 2009-05-11 21:12:44 +02:00
Sune Foldager
d94721fac7 monoblue: add branches page 2009-05-11 21:14:43 +02:00
Dirkjan Ochtman
044ab8755d hgweb: use context api in branches webcommand 2009-05-12 10:23:45 +02:00
Sune Foldager
ffb22da91d paper/coal: add branches page 2009-05-12 12:00:54 +02:00
Sune Foldager
de66a009d3 webcommands: add 'branches' command, similar to 'tags' 2009-05-12 09:43:36 +02:00
Rocco Rutte
4ed7542551 test-patchbomb: fix style
Specifying revisions without -r is deprecated, break long lines.
2009-05-12 11:27:26 +02:00
Martin Geisler
aa4858058d tests: avoid export FOO=bar bashism 2009-05-11 23:42:03 +02:00
Martin Geisler
6b1b141eed i18n-da: fix typo and translate rollback messages 2009-05-11 00:16:49 +02:00
Martin Geisler
ccf16e42d8 record: better formatting for qrecord help 2009-05-10 01:18:38 +02:00
Bryan O'Sullivan
ff0948b137 util.termwidth: a file-like object may legitimately lack a fileno() method
Spotted in the wild when running a hook while pushing over HTTPS.
2009-05-11 11:53:27 -07:00
Dirkjan Ochtman
1c646f503a hgweb: get rid of inaccurate hgwebdir.repos_sorted, localize machinery 2009-05-11 14:19:49 +02:00
Alexander Solovyov
038c7df455 hgwebdir: read --webdir-conf as actual configuration to ui (issue1586)
This cleans up code and allows specification of values more globally. For
example, it's now possible to specify web.contact in webdir-conf for all
repositories without a specified contact set.
2009-05-11 14:20:18 +02:00
Sune Foldager
3b6f32dcc9 url: fix bug in passwordmgr related to auth configuration
Usernames given as part of the URL would be ignored.
This bug was introduced in ff71c1e17a2ae6bd42d85685b412005cc1340c33
2009-05-11 07:55:13 +02:00
Martin Geisler
a46b13f8bb mail: updated comment 2009-05-08 15:14:04 +02:00
Alexander Solovyov
d57b80d44e add verbose output to compact template style 2009-05-11 13:03:34 +03:00
Brodie Rao
f244d61202 hgrc.5: fix label delimiter 2009-05-09 15:08:46 -04:00
Martin Geisler
a9670d9567 util: remove unused bufsize argument in popen[23] 2009-05-09 17:34:11 +02:00
Martin Geisler
e8bc5f4f01 util: remove ignored mode argument in popen[23] 2009-05-09 17:32:57 +02:00
Martin Geisler
7cdf7edf27 i18n-da: synchronized and improved slightly 2009-05-09 17:12:39 +02:00
Martin Geisler
110a176288 copies: don't translate untranslatable string 2009-05-09 14:56:06 +02:00
Nicolas Dumazet
3f9a2970a1 inotify: remove the useless 'if st' checks in RepoWatcher.filestatus
Only call is in RepoWatcher.updatestatus:
if st:
    self.filestatus(wfn, st)

st can never be None
2009-05-08 17:17:03 +09:00
Nicolas Dumazet
d1bc1dd527 inotify: Clarify the use of "watcher" name.
Currently, Watcher is a class in inotify.linux.watcher, but it's also a class
in inotify.server . To complicate things further more, the latter has a
'watcher' attribute, an instance of the former class.

When it comes to the 'watcher' attribute of the Server class in inotify.server,
one can get quite confused: is it a Watcher object from inotify.server, or from
inotify.linux.watcher?

Changes:
* in inotify.linux.watcher : nothing
* in inotify.server :
    ** Watcher class is renamed to RepoWatcher
    ** server.watcher is renamed to server.repowatcher
2009-05-04 21:18:33 +09:00
Nicolas Dumazet
a069fcd959 inotify: inotify.server.walk() filetype is never used, do not yield it 2009-05-04 18:23:05 +09:00
Sune Foldager
4a665141b4 allow http authentication information to be specified in the configuration 2009-05-04 20:26:27 +02:00
Rocco Rutte
00891e0e67 patchbomb: quoted-printable encode overly long lines
RfC2822 mandates a line length limit of 998 byte + CRLF.
Python mail tools break lines at 990 byte. To prevent
that, we quoted-printable encode overly long lines.
2009-05-08 18:30:44 +02:00
Martin Geisler
139c77bb60 patchbomb: fix quotes in help string 2009-05-09 01:15:24 +02:00
Bryan O'Sullivan
3054118009 Windows: improve performance via buffered I/O
The posixfile_nt code hits the win32 file API directly, which
essentially amounts to performing a system call for every read and
write. This is slow.

We add a C extension that lets us use a Python file object instead,
but preserve our desired POSIX-like semantics (the ability to rename
or delete a file that is being accessed).

If the C extension is not available (e.g. in a VPS environment
without a compiler), we fall back to the posixfile_nt code.
2009-05-08 15:52:26 -07:00
Bryan O'Sullivan
25eaff219f win32: clarify comment regarding use of fdopen 2009-03-26 13:14:35 -07:00
Bryan O'Sullivan
3b57c5ca0f win32: allow catching of both pywintypes.error and WindowsError 2009-03-26 13:13:48 -07:00
Bryan O'Sullivan
64e91f0ca1 atomictempfile: delegate to posixfile instead of inheriting from it 2009-03-26 13:12:11 -07:00
Dirkjan Ochtman
fc8d4f68ea merge with mpm 2009-05-08 22:35:10 +02:00
Matt Mackall
c70b6084a7 revlog: add cache priming for reconstructing delta chains 2009-05-07 19:39:45 -05:00
Matt Mackall
7aa559f96a revlog: use chunk cache to avoid rereading when splitting inline files 2009-05-07 19:39:45 -05:00
Matt Mackall
d48241b5f7 revlog: clean up the chunk caching code 2009-05-07 19:39:45 -05:00
Matt Mackall
9f78d7798f revlog: use index to find index size 2009-05-07 19:39:45 -05:00
Matt Mackall
00548e0791 revlog: preread revlog .i file
Smaller revlogs can be read with a single read, do it on open.
2009-05-07 19:39:45 -05:00
Sverre Rabbelier
1c34b4064b commit: be more verbose in the -u help text
Make the requirement of an argument for -u a little more explicit.
2009-05-08 16:30:51 +02:00
Nicolas Dumazet
f6419bf349 inotify: inotify.server.walk() simplify control flow 2009-05-04 18:04:41 +09:00
Nicolas Dumazet
292d751d64 inotify: inotify.server.walk*() remove unnecessary var
Remove hginside var and the test it relates to:

not( top or not hginside ) == (not top) and hginside, so the only case
when nothing will be yielded is when hginside is True and top is False.

Because of the returns placed upstream, this case will not happen anymore.
We can then safely remove hginside and the (if)s
2009-05-04 17:58:26 +09:00
Nicolas Dumazet
11aeef500e inotify: inotify.server.walk*() cleanup
When not in root repo, if we meet a .hg, bail out.
break was used, but return can be safely used instead: if we go through break
then (top or not hginside) == False -> nothing is done after the for loop
2009-05-04 17:17:03 +09:00
Nicolas Dumazet
eba4602603 inotify: inotify.server.walkrepodirs() simplify walking
Do not 'yield tuple, boolean' to filter later on the boolean.
Test the boolean first, and yield tuple only if needed.
2009-05-04 17:11:49 +09:00
Nicolas Dumazet
1ecc45315c inotify: inotify.server.walkrepodirs() simplify
compute string concatenation only once
2009-05-04 17:06:59 +09:00
Nicolas Dumazet
371a96accc inotify: inotify.server.walk() simplify algorithm
Do not yield (bool, tuple) in a subfunction and check later:
'if not bool: yield tuple'.

Instead simplify so the tuple doesnt get yielded on the first time, to avoid
systematic checks.
2009-05-04 16:57:52 +09:00
Nicolas Dumazet
43cc5ba1c8 inotify: inotify.server.walk cleanups
* Removing useless path computation
* moving 'reporoot' computation down to the first call to avoid confusion
  with the parameter used in walkit()
2009-05-04 16:43:28 +09:00
Simon Heimberg
09ac1e6c92 separate import lines from mercurial and general python modules 2009-04-28 17:40:46 +02:00
Giorgos Keramidas
afd8c70fd6 manpage build: fail early when xmlto is not available
When we try to build manpages with xmlto and sed, but xmlto is
missing fail at the xmlto stage.  Otherwise, one may run `cd doc;
make' and miss the warnings like:

  xmlto: not found
  sed: hg.1: No such file or directory

and end up with empty files installed as manpages.
2009-05-07 15:08:25 +03:00
Simon Heimberg
054906a1f5 dirstate: translate forgotten string 2009-05-08 07:54:00 +02:00
Simon Heimberg
f29f0db784 util: overwrite sha1 and _fastsha1 2009-05-08 09:59:15 +02:00
Greg Ward
5485b0d573 test-convert-bzr: tweak sed hack to preserve timezone in 'bzr log' output 2009-05-07 21:35:12 -04:00