- 19 May, 2019 1 commit
-
-
Matt Harbison authored
Fixed up after running `2to3 -w -n -f unicode .`, and re-adding the dropped u'' prefixes. The pycompat.unicode() hack is copied into setup.py because that module declares the dependency on mercurial.
-
- 24 Mar, 2019 1 commit
-
-
Matt Harbison authored
Fixed up after running `2to3 -w -n -f basestring .`
-
- 18 May, 2019 1 commit
-
-
Matt Harbison authored
-
- 05 May, 2019 7 commits
-
-
Matt Harbison authored
Flagged by PyCharm.
-
Matt Harbison authored
Flagged by PyCharm.
-
Matt Harbison authored
Flagged by PyCharm.
-
Matt Harbison authored
Flagged by PyCharm.
-
Matt Harbison authored
Flagged by PyCharm.
-
Matt Harbison authored
Flagged by PyCharm.
-
Matt Harbison authored
Flagged by PyCharm.
-
- 30 Apr, 2019 1 commit
-
-
Matt Harbison authored
Evolve 8.5.0 stopped setting `obsolete._enabled`, leaving it always False, and therefore never enabling the amend option aside from the normal branch heads. See 2db0aca03a88 in hg-evolve.
-
- 29 Apr, 2019 3 commits
-
-
Matt Harbison authored
This corresponds to 0531dff73d0b. Two methods are flagged to be changed to matchmod.never(). But not now to avoid conditionalizing the call for API changes. It looks like this also fixes a bug in filedata._checkRenamed(), which is being passed a repo- the previous usage assumed it was a string.
-
Yuya Nishihara authored
-
Yuya Nishihara authored
-
- 14 Apr, 2019 12 commits
-
-
Matt Harbison authored
-
Matt Harbison authored
-
Matt Harbison authored
-
Matt Harbison authored
While here, drop a .readlines() in a for loop that can be handled by iterating over the file descriptor.
-
Matt Harbison authored
-
Matt Harbison authored
-
Matt Harbison authored
-
Matt Harbison authored
-
Matt Harbison authored
-
Matt Harbison authored
There are two other instances of immediate open() and close() that seem fine to leave alone.
-
Matt Harbison authored
-
Steve Borho authored
-
- 15 Apr, 2019 1 commit
-
-
Steve Borho authored
--HG-- branch : stable
-
- 13 Apr, 2019 1 commit
-
-
Yuya Nishihara authored
-
- 12 Apr, 2019 1 commit
-
-
timeless developer authored
Without this, the window grows without bounds
-
- 11 Apr, 2019 1 commit
-
-
muxator authored
Among other things, this change enables using "{gitnode}" in changeset.link. This allows, for example, to directly link commits in GitHub/GitLab when used with hg-git: https://github.com/torvalds/linux/commit/{gitnode} https://gitlab.com/tortoisegit/tortoisegit/commit/{gitnode} Updated accordingly the hints in the settings dialog in order to expose the feature. The proposal for this change can be found at: https://bitbucket.org/tortoisehg/thg/issues/5375
-
- 06 Apr, 2019 1 commit
-
-
muxator authored
The next commit will enable support for using generic mercurial templates in changeset.link. In preparation of this, it is necessary to pass ctx to the markup function.
-
- 08 Apr, 2019 1 commit
-
-
muxator authored
Bug report on bitbucket (with attached screenshot): https://bitbucket.org/tortoisehg/thg/issues/5374
-
- 12 Apr, 2019 2 commits
-
-
Matt Harbison authored
Converted with `2to3 -w -n -f dict .`, and then remove a bunch of list() wrapping.
-
Matt Harbison authored
Converted with `2to3 -w -n -f dict .`, and then remove a bunch of list() wrapping. The only place it seemed necessary was in repoview.py, as the collection is traversed more than once.
-
- 06 Apr, 2019 1 commit
-
-
Matt Harbison authored
When clicking on a cset hyperlink in File History > Revision Details, this popped up: Traceback (most recent call last): File "tortoisehg\hgqt\revdetails.pyo", line 603, in linkActivated File "tortoisehg\hgqt\revdetails.pyo", line 562, in setRev File "tortoisehg\hgqt\revdetails.pyo", line 298, in onRevisionSelected File "tortoisehg\hgqt\thgrepo.pyo", line 772, in __getitem__ File "mercurial\localrepo.pyo", line 1277, in __getitem__ ProgrammingError: unsupported changeid 'c62038d6f988' of type <type 'unicode'> Most of the existing callers pass an int to setRev(), with the possible exception of the default parameter in the RevDetailsDialog constructor. So this can't be converted any closer to the repo lookup. --HG-- branch : stable
-
- 05 Apr, 2019 1 commit
-
-
muxator authored
-
- 06 Apr, 2019 3 commits
-
-
muxator authored
Let's try to better witespace-separate the various subfunctions, since in the next commits we are going to mess with them.
-
muxator authored
Without this patch, clicking on an unapplied mq patch causes the following stack trace: [...] ** Mercurial version (4.9+7-a62690659d6b+20190223). TortoiseHg version (4.9+25-a4f12d0cab7c) [...] Traceback (most recent call last): File "<base>/thg/tortoisehg/hgqt/revdetails.py", line 397, in _onFileSelected self.fileview.display(model.fileData(index)) File "<base>/thg/tortoisehg/hgqt/fileview.py", line 498, in display fd.load(self.isChangeSelectionEnabled()) File "<base>/thg/tortoisehg/hgqt/filedata.py", line 494, in load self.diff = ctx.thgmqpatchdata(wfile) File "<base>/thg/tortoisehg/util/patchctx.py", line 190, in thgmqpatchdata NameError: global name 'pycompat' is not defined This was a small overlook in 679593c2dbe6 (py3: replace cStringIO with pycompat.bytesio)
-
muxator authored
No functional changes
-
- 27 Mar, 2019 1 commit
-
-
Matt Harbison authored
This is kind of messy, and I've got no way to test bugtraq, so I don't want to change anything. There's no thg equivalent of pycompat that I know of, and the windows module handles this already, so it seems OK to use.
-