Thu, 16 Jul 2020 23:49:04 +0200 |
Manuel Jacob |
util: enhance `nullcontextmanager` to be able to return __enter__ result
|
file |
diff |
annotate
|
Tue, 09 Jun 2020 11:22:31 +0200 |
Joerg Sonnenberger |
util: provide a helper function to estimate RAM size
|
file |
diff |
annotate
|
Mon, 29 Jun 2020 20:53:32 +0900 |
Yuya Nishihara |
merge with stable
|
file |
diff |
annotate
|
Fri, 19 Jun 2020 20:42:14 +0530 |
Pulkit Goyal |
util: flush stderr explicitly after using warnings.warn()
|
file |
diff |
annotate
|
Fri, 29 May 2020 04:06:16 +0200 |
Manuel Jacob |
cleanup: remove compatibility code for Python < 2.7.4
|
file |
diff |
annotate
|
Sun, 28 Jun 2020 18:02:45 +0200 |
Manuel Jacob |
curses: do not initialize LC_ALL to user settings (issue6358)
stable
|
file |
diff |
annotate
|
Tue, 31 Mar 2020 15:11:33 +0530 |
Pulkit Goyal |
chgserver: update the umask cache before each run
|
file |
diff |
annotate
|
Fri, 06 Mar 2020 13:27:41 -0500 |
Augie Fackler |
cleanup: run pyupgrade on our source tree to clean up varying things
|
file |
diff |
annotate
|
Wed, 04 Mar 2020 00:45:54 -0500 |
Matt Harbison |
phabricator: avoid a stacktrace when command arguments are missing
|
file |
diff |
annotate
|
Mon, 13 Jan 2020 17:15:14 -0500 |
Augie Fackler |
core: migrate uses of hashlib.sha1 to hashutil.sha1
|
file |
diff |
annotate
|
Tue, 07 Jan 2020 12:09:36 +0100 |
Pierre-Yves David |
mmap: add a size argument to mmapread
|
file |
diff |
annotate
|
Sat, 28 Dec 2019 01:35:05 -0500 |
Matt Harbison |
cleanup: drop redundant character escapes from `[]` character sets
|
file |
diff |
annotate
|
Tue, 31 Dec 2019 16:24:38 -0500 |
Matt Harbison |
util: avoid referencing `time.clock()` on Windows when missing (issue6238)
|
file |
diff |
annotate
|
Sun, 15 Dec 2019 21:34:00 -0500 |
Matt Harbison |
util: move common proxyobserver attributes to the base class
|
file |
diff |
annotate
|
Mon, 16 Dec 2019 15:58:47 -0800 |
Martin von Zweigbergk |
util: implement sortdict.insert()
|
file |
diff |
annotate
|
Sun, 15 Dec 2019 21:43:18 -0500 |
Matt Harbison |
typing: suppress a warning that mercurial.windows.checkosfilename is missing
|
file |
diff |
annotate
|
Sun, 15 Dec 2019 21:36:06 -0500 |
Matt Harbison |
typing: add an assertion to util.versiontuple
|
file |
diff |
annotate
|
Sun, 15 Dec 2019 21:28:30 -0500 |
Matt Harbison |
typing: add a couple of assertions to lrucachedict to help pytype
|
file |
diff |
annotate
|
Sun, 15 Dec 2019 21:26:21 -0500 |
Matt Harbison |
util: rename a variable to avoid confusing pytype
|
file |
diff |
annotate
|
Sun, 15 Dec 2019 21:22:27 -0500 |
Matt Harbison |
pytype: suppress the import-error in util.py when importing re2
|
file |
diff |
annotate
|
Sun, 17 Nov 2019 06:26:41 +0100 |
Pierre-Yves David |
util: add an optional `prefix` argument to debugstacktrace
|
file |
diff |
annotate
|
Fri, 22 Nov 2019 21:42:04 +0900 |
Yuya Nishihara |
merge with stable
|
file |
diff |
annotate
|
Thu, 14 Nov 2019 13:18:22 -0800 |
Martin von Zweigbergk |
util: remove datapath and swith users over to resourceutil
|
file |
diff |
annotate
|
Thu, 14 Nov 2019 12:41:33 -0800 |
Martin von Zweigbergk |
i18n: get datapath directly from resourceutil
|
file |
diff |
annotate
|
Thu, 14 Nov 2019 12:33:10 -0800 |
Martin von Zweigbergk |
util: move definition of datapath to resourceutil
|
file |
diff |
annotate
|
Thu, 14 Nov 2019 11:52:22 -0800 |
Martin von Zweigbergk |
procutil: move mainfrozen() to new resourceutil.py
|
file |
diff |
annotate
|
Thu, 14 Nov 2019 14:14:11 -0800 |
Martin von Zweigbergk |
py3: use native string for 'macosx_app'
|
file |
diff |
annotate
|
Thu, 14 Nov 2019 08:03:26 -0800 |
Martin von Zweigbergk |
utils: move finddirs() to pathutil
|
file |
diff |
annotate
|
Wed, 06 Nov 2019 14:13:19 +0100 |
Pierre-Yves David |
utils: move the `dirs` definition in pathutil (API)
|
file |
diff |
annotate
|
Fri, 08 Nov 2019 11:19:20 -0800 |
Augie Fackler |
cleanup: remove pointless r-prefixes on single-quoted strings
|
file |
diff |
annotate
|
Thu, 17 Oct 2019 19:29:22 -0400 |
Augie Fackler |
dirs: reject consecutive slashes in paths
|
file |
diff |
annotate
|
Wed, 06 Nov 2019 17:46:26 -0500 |
Augie Fackler |
pytype: don't warn us about ignored-on-py3 metaclasses
|
file |
diff |
annotate
|
Thu, 21 Nov 2019 17:25:24 -0500 |
Matt Harbison |
util: convert an exception to bytes when passing to Abort()
stable
|
file |
diff |
annotate
|
Tue, 08 Oct 2019 15:06:18 -0700 |
Martin von Zweigbergk |
cleanup: join string literals that are already on one line
|
file |
diff |
annotate
|
Mon, 07 Oct 2019 00:04:04 -0400 |
Gregory Szorc |
py3: finish porting iteritems() to pycompat and remove source transformer
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 17:45:05 -0400 |
Gregory Szorc |
py3: stop normalizing 2nd argument of *attr() to unicode
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 16:58:55 -0400 |
Gregory Szorc |
py3: manually import pycompat.delattr where it is needed
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 16:55:18 -0400 |
Gregory Szorc |
py3: manually import getattr where it is needed
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 14:58:42 -0400 |
Gregory Szorc |
py3: manually import pycompat.setattr where it is needed
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 13:28:56 -0400 |
Gregory Szorc |
py3: manually import pycompat.open into files that need it
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 09:48:39 -0400 |
Augie Fackler |
formatting: byteify all mercurial/ and hgext/ string literals
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 09:45:02 -0400 |
Augie Fackler |
formatting: blacken the codebase
|
file |
diff |
annotate
|
Sat, 17 Aug 2019 10:25:04 +0900 |
Yuya Nishihara |
py3: do not convert rust module/attribute names to bytes
|
file |
diff |
annotate
|
Sun, 21 Jul 2019 18:04:05 -0700 |
Martin von Zweigbergk |
py: error out if a "skip" character was given with non-dict to util.dirs()
stable
|
file |
diff |
annotate
|
Wed, 05 Jun 2019 17:58:34 +0200 |
Raphaël Gomès |
rust-dirstate: call new "dirs" rust implementation from Python
|
file |
diff |
annotate
|
Tue, 16 May 2017 11:00:38 -0700 |
Martin von Zweigbergk |
util: make util.dirs() and util.finddirs() include root directory (API)
|
file |
diff |
annotate
|
Wed, 27 Mar 2019 16:45:14 +0100 |
Pierre-Yves David |
util: extract compression code in `mercurial.utils.compression`
|
file |
diff |
annotate
|
Sat, 02 Mar 2019 12:57:00 -0800 |
Gregory Szorc |
global: use raw strings for namedtuple()
|
file |
diff |
annotate
|
Sat, 02 Mar 2019 12:51:04 -0800 |
Gregory Szorc |
global: use raw strings for __slots__
|
file |
diff |
annotate
|
Fri, 25 Jan 2019 16:00:34 -0800 |
Gregory Szorc |
util: cast memoryview to bytes
|
file |
diff |
annotate
|
Thu, 10 Jan 2019 14:57:01 +0100 |
Boris Feld |
update: fix edge-case with update.atomic-file and read-only files
|
file |
diff |
annotate
|
Sun, 04 Nov 2018 16:57:05 +0900 |
Yuya Nishihara |
util: implement pop() on lrucachedict
|
file |
diff |
annotate
|
Wed, 31 Oct 2018 22:29:05 +0900 |
Yuya Nishihara |
util: add method to peek item in lrucachedict
|
file |
diff |
annotate
|
Thu, 22 Nov 2018 22:40:22 +0900 |
Yuya Nishihara |
py3: cast attribute name to sysstr in clearcachedproperty()
|
file |
diff |
annotate
|
Sat, 13 Oct 2018 14:17:25 +0200 |
Yuya Nishihara |
py3: build help of compression engines in bytes
|
file |
diff |
annotate
|
Wed, 03 Oct 2018 10:27:44 -0700 |
Martin von Zweigbergk |
cleanup: some Yoda conditions, this patch removes
|
file |
diff |
annotate
|
Fri, 28 Sep 2018 22:18:45 -0400 |
Matt Harbison |
util: use a context manager in readlock()
|
file |
diff |
annotate
|
Tue, 25 Sep 2018 21:16:12 -0400 |
Matt Harbison |
py3: convert os.readlink() path to native strings on Windows
|
file |
diff |
annotate
|
Tue, 18 Sep 2018 16:47:09 -0700 |
Gregory Szorc |
global: replace most uses of RevlogError with StorageError (API)
|
file |
diff |
annotate
|
Fri, 07 Sep 2018 10:18:20 -0700 |
Gregory Szorc |
util: update lrucachedict order during get()
|
file |
diff |
annotate
|
Thu, 06 Sep 2018 18:04:27 -0700 |
Gregory Szorc |
util: lower water mark when removing nodes after cost limit reached
|
file |
diff |
annotate
|
Thu, 06 Sep 2018 12:40:30 -0700 |
Gregory Szorc |
util: optimize cost auditing on insert
|
file |
diff |
annotate
|
Thu, 06 Sep 2018 14:04:46 -0700 |
Gregory Szorc |
util: teach lrucachedict to enforce a max total cost
|
file |
diff |
annotate
|
Fri, 07 Sep 2018 12:14:42 -0700 |
Gregory Szorc |
util: allow lrucachedict to track cost of entries
|
file |
diff |
annotate
|
Wed, 05 Sep 2018 23:15:20 -0700 |
Gregory Szorc |
util: add a popoldest() method to lrucachedict
|
file |
diff |
annotate
|
Thu, 06 Sep 2018 11:40:20 -0700 |
Gregory Szorc |
util: ability to change capacity when copying lrucachedict
|
file |
diff |
annotate
|
Thu, 06 Sep 2018 11:37:27 -0700 |
Gregory Szorc |
util: make capacity a public attribute on lrucachedict
|
file |
diff |
annotate
|
Thu, 06 Sep 2018 11:33:40 -0700 |
Gregory Szorc |
util: properly copy lrucachedict instances
|
file |
diff |
annotate
|
Fri, 24 Aug 2018 10:13:27 -0700 |
Augie Fackler |
util: make timedcm require the label (API)
|
file |
diff |
annotate
|
Tue, 21 Aug 2018 17:15:51 -0400 |
Augie Fackler |
cleanup: make all uses of timedcm specify what they're timing
|
file |
diff |
annotate
|
Tue, 21 Aug 2018 17:13:35 -0400 |
Augie Fackler |
util: make timedcm context manager also emit trace events
|
file |
diff |
annotate
|
Thu, 16 Aug 2018 05:50:49 +0200 |
Joerg Sonnenberger |
util: improve handling of truncated compressed streams
|
file |
diff |
annotate
|
Fri, 10 Aug 2018 02:30:14 -0400 |
Augie Fackler |
util: fix signature of setsockopt in socket observer
|
file |
diff |
annotate
|
Thu, 02 Aug 2018 20:53:03 +0100 |
Martijn Pieters |
util: make new timedcmstats class Python 3 compatible
|
file |
diff |
annotate
|
Wed, 01 Aug 2018 16:05:41 +0200 |
Martijn Pieters |
util: create a context manager to handle timing
|
file |
diff |
annotate
|
Thu, 12 Jul 2018 18:46:10 +0200 |
Joerg Sonnenberger |
ssh: avoid reading beyond the end of stream when using compression
|
file |
diff |
annotate
|
Sun, 10 Jun 2018 17:07:29 +0900 |
Yuya Nishihara |
pycompat: move rapply() from util
|
file |
diff |
annotate
|
Thu, 28 Jun 2018 18:07:22 -0700 |
Kyle Lippincott |
unlinkpath: make empty directory removal optional (issue5901) (issue5826)
|
file |
diff |
annotate
|
Sun, 17 Jun 2018 22:57:34 -0700 |
Martin von Zweigbergk |
copystore: use progress helper
|
file |
diff |
annotate
|
Thu, 14 Jun 2018 11:49:10 -0400 |
Augie Fackler |
tests: suppress read(-1) -> '' calls in fileobjectobserver
|
file |
diff |
annotate
|
Sat, 26 May 2018 12:14:04 +0900 |
Yuya Nishihara |
py3: wrap tempfile.mkstemp() to use bytes path
|
file |
diff |
annotate
|
Fri, 11 May 2018 21:53:26 +0900 |
Yuya Nishihara |
util: drop remainder of dateutil/procutil aliases (API)
|
file |
diff |
annotate
|
Thu, 10 May 2018 21:43:32 -0400 |
Matt Harbison |
util: drop _deprecatedfunc()
|
file |
diff |
annotate
|
Thu, 10 May 2018 21:41:19 -0400 |
Matt Harbison |
util: drop deprecated forwarding to procutil (API)
|
file |
diff |
annotate
|
Thu, 10 May 2018 21:37:23 -0400 |
Matt Harbison |
util: drop deprecated forwarding to dateutil (API)
|
file |
diff |
annotate
|
Thu, 10 May 2018 21:34:40 -0400 |
Matt Harbison |
util: drop deprecated forwarding to stringutil (API)
|
file |
diff |
annotate
|
Fri, 27 Apr 2018 00:06:08 -0400 |
Augie Fackler |
util: make util.url __repr__ consistent on Python 2 and 3
|
file |
diff |
annotate
|
Sat, 05 May 2018 18:35:16 -0700 |
Gregory Szorc |
pycompat: export queue module instead of symbols in module (API)
|
file |
diff |
annotate
|
Fri, 20 Apr 2018 20:38:29 +0900 |
Yuya Nishihara |
version: make parser more robust for rc variants and ill-formed strings
stable
|
file |
diff |
annotate
|
Fri, 13 Apr 2018 14:18:26 -0700 |
Martin von Zweigbergk |
util: set correct stack level on deprecation warnings
|
file |
diff |
annotate
|
Mon, 09 Apr 2018 10:18:10 -0700 |
Gregory Szorc |
util: drop write_content_size=True
|
file |
diff |
annotate
|
Sat, 07 Apr 2018 13:21:59 +0900 |
Yuya Nishihara |
py3: silence warning about deprecation of imp module
|
file |
diff |
annotate
|
Thu, 05 Apr 2018 10:13:01 -0400 |
Augie Fackler |
util: whitelist apfs for hardlink support
|
file |
diff |
annotate
|
Thu, 05 Apr 2018 16:56:34 +0530 |
Pulkit Goyal |
py3: return bytes from util.removeauth()
|
file |
diff |
annotate
|
Wed, 04 Apr 2018 23:26:49 +0900 |
Yuya Nishihara |
stringutil: drop escapedata() in favor of escapestr()
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 14:54:15 +0900 |
Yuya Nishihara |
util: deprecate procutil proxy functions (API)
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 13:38:04 +0900 |
Yuya Nishihara |
procutil: move process/executable management functions to new module
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 14:32:34 +0900 |
Yuya Nishihara |
util: stop using readfile() in tempfilter()
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 14:38:34 +0900 |
Yuya Nishihara |
util: mark filtertable as private constant
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 17:04:43 +0900 |
Yuya Nishihara |
util: mark platform-specific gethgcmd() as private
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 14:24:32 +0900 |
Yuya Nishihara |
util: make safehasattr() a pycompat function
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 14:13:37 +0900 |
Yuya Nishihara |
util: drop util.Abort in favor of error.Abort (API)
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 14:08:50 +0900 |
Yuya Nishihara |
util: use error.Abort instead of local alias
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 13:30:50 +0900 |
Yuya Nishihara |
rcutil: directly call win32.executablepath()
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 22:39:43 +0900 |
Yuya Nishihara |
util: enable deprecation warning for stringutil proxy (API)
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 21:56:20 +0900 |
Yuya Nishihara |
stringutil: bulk-replace call sites to point to new module
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 21:19:31 +0900 |
Yuya Nishihara |
stringutil: move generic string helpers to new module
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 21:32:19 +0900 |
Yuya Nishihara |
util: remove unused private constant '_hextochr'
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 21:20:47 +0900 |
Yuya Nishihara |
util: mark internal constants of escapedata() as private
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 21:14:12 +0900 |
Yuya Nishihara |
util: adjust indent level in wrap()
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 21:13:31 +0900 |
Yuya Nishihara |
util: mark MBTextWrapper as private
|
file |
diff |
annotate
|
Thu, 22 Mar 2018 21:10:42 +0900 |
Yuya Nishihara |
util: add helper to define proxy functions to utils.*
|
file |
diff |
annotate
|
Wed, 14 Mar 2018 15:25:06 -0700 |
Gregory Szorc |
wireproto: implement basic frame reading and processing
|
file |
diff |
annotate
|
Tue, 13 Mar 2018 11:20:07 -0700 |
Gregory Szorc |
util: don't log low-level I/O calls for HTTP peer
|
file |
diff |
annotate
|
Tue, 13 Mar 2018 17:42:00 -0700 |
Gregory Szorc |
util: observable proxy objects for sockets
|
file |
diff |
annotate
|
Sat, 10 Mar 2018 23:58:01 -0500 |
Matt Harbison |
wireproto: explicitly flush stdio to prevent stalls on Windows
|
file |
diff |
annotate
|
Wed, 14 Mar 2018 11:52:35 -0700 |
Gregory Szorc |
util: prefer "bytesio" to "stringio"
|
file |
diff |
annotate
|
Fri, 09 Mar 2018 18:39:48 +0100 |
Boris Feld |
util: clear debugstacktrace call
|
file |
diff |
annotate
|
Tue, 06 Mar 2018 07:45:57 -0600 |
Yuya Nishihara |
py3: wrap file object to write patch in native eol preserving byte-ness
|
file |
diff |
annotate
|
Sat, 10 Mar 2018 15:57:16 +0900 |
Yuya Nishihara |
py3: use r'' instead of sysstr('') to get around code transformer
|
file |
diff |
annotate
|