Mon, 20 Sep 2021 11:05:30 -0400 |
Matt Harbison |
util: eliminate the possibility of returning None from `versiontuple()`
|
file |
diff |
annotate
|
Mon, 20 Sep 2021 10:46:35 -0400 |
Matt Harbison |
util: avoid a name-error warning in the `mmapread` exception handler
|
file |
diff |
annotate
|
Sat, 10 Jul 2021 13:46:24 +0200 |
Pierre-Yves David |
windows: introduce a `util.abspath` to replace os.path.abspath
|
file |
diff |
annotate
|
Wed, 09 Jun 2021 15:33:58 +0200 |
Pierre-Yves David |
copyfiles: add a way to relax the file system checking for hardlink
|
file |
diff |
annotate
|
Tue, 08 Jun 2021 02:31:17 +0200 |
Pierre-Yves David |
copyfile: add a option callback for failed hardlinking
|
file |
diff |
annotate
|
Mon, 07 Jun 2021 21:09:31 +0200 |
Pierre-Yves David |
copyfiles: deal with existing file when hardlinking
|
file |
diff |
annotate
|
Sun, 30 May 2021 18:08:52 +0200 |
Pierre-Yves David |
util: add `nb_bytes` argument to `copyfile` to partially copy a file
|
file |
diff |
annotate
|
Mon, 17 May 2021 15:05:24 +0200 |
Raphaël Gomès |
branching: merge stable into default
|
file |
diff |
annotate
|
Fri, 07 May 2021 22:06:25 -0400 |
Matt Harbison |
merge with stable
|
file |
diff |
annotate
|
Wed, 12 May 2021 12:41:52 -0400 |
Matt Harbison |
util: avoid echoing the password to the console on Windows py3 (issue6446)
stable
|
file |
diff |
annotate
|
Fri, 30 Apr 2021 16:13:02 -0700 |
Kyle Lippincott |
black: make codebase compatible with black v21.4b2 and v20.8b1
stable
|
file |
diff |
annotate
|
Mon, 29 Mar 2021 01:52:06 +0200 |
Joerg Sonnenberger |
node: replace nullid and friends with nodeconstants class
|
file |
diff |
annotate
|
Mon, 12 Apr 2021 23:31:54 -0400 |
Matt Harbison |
re2: adjust local variable assignment scope
|
file |
diff |
annotate
|
Mon, 12 Apr 2021 03:01:04 +0200 |
Pierre-Yves David |
urlutil: extract `url` related code from `util` into the new module
|
file |
diff |
annotate
|
Mon, 12 Apr 2021 22:42:47 -0400 |
Matt Harbison |
merge with stable
|
file |
diff |
annotate
|
Thu, 25 Mar 2021 22:29:41 -0400 |
Matt Harbison |
typing: make minor adjustments to mercurial/util.py to pass pytype checking
|
file |
diff |
annotate
|
Thu, 25 Mar 2021 20:22:00 -0400 |
Matt Harbison |
util: fix the signature for the pypy override of sortdict.update()
|
file |
diff |
annotate
|
Tue, 23 Mar 2021 23:55:33 +0100 |
Pierre-Yves David |
path: forbid chaining `path://` definitions
|
file |
diff |
annotate
|
Thu, 25 Mar 2021 18:02:08 +0100 |
Raphaël Gomès |
contributor: change mentions of mpm to olivia
|
file |
diff |
annotate
|
Fri, 26 Mar 2021 18:37:25 +0100 |
Pierre-Yves David |
re2: feed unicode string to re2 module when necessary
stable
|
file |
diff |
annotate
|
Fri, 12 Mar 2021 13:13:13 -0500 |
Augie Fackler |
merge: with stable
|
file |
diff |
annotate
|
Sat, 06 Mar 2021 23:41:32 -0500 |
Matt Harbison |
typing: add some type annotations to mercurial/util.py
|
file |
diff |
annotate
|
Wed, 24 Feb 2021 15:16:22 +0100 |
Pierre-Yves David |
re2: byteify some regex used to get check re2 availability
stable
|
file |
diff |
annotate
|
Tue, 01 Dec 2020 21:54:46 +0100 |
Joerg Sonnenberger |
node: import symbols explicitly
|
file |
diff |
annotate
|
Fri, 27 Nov 2020 17:03:29 -0500 |
Augie Fackler |
formating: upgrade to black 20.8b1
|
file |
diff |
annotate
|
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
|
Sun, 28 Jun 2020 18:02:45 +0200 |
Manuel Jacob |
curses: do not initialize LC_ALL to user settings (issue6358)
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
|
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, 21 Nov 2019 17:25:24 -0500 |
Matt Harbison |
util: convert an exception to bytes when passing to Abort()
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
|
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
|