- 19 Feb, 2020 1 commit
-
-
Matt Harbison authored
This is a simplification of the rebase dialog. There's almost certainly some room to refactor this and the rebase dialog, and also use it for `graft` and `evolve`/`next`. But I just want to get this in before the code freeze.
-
- 05 Mar, 2020 1 commit
-
-
kiilerix authored
Based on code inspection after hitting a crash in patchctx. --HG-- branch : stable
-
- 21 Feb, 2020 1 commit
-
-
Aay Jay Chan authored
--HG-- branch : stable
-
- 03 Feb, 2020 2 commits
-
-
Aay Jay Chan authored
This caused a crash when selecting actions for DAG range in context menu. --HG-- branch : stable
-
Aay Jay Chan authored
This caused a crash when exporting diff. --HG-- branch : stable
-
- 11 Dec, 2019 1 commit
-
-
Matt Harbison authored
Fixes the following pytype warning: line 1290, in generateSingleMenu: No attribute 'setData' on None [attribute-error] In Optional[Union[Any, PyQt5.QtWidgets.QAction]] The only way a None return is possible is if the 3rd arg is not None.
-
- 01 Dec, 2019 1 commit
-
-
Yuya Nishihara authored
Suppresses pytype error: File "tortoisehg/hgqt/repowidget.py", line 804, in rollback: Function tortoisehg.util.hglib.tounicode was called with the wrong arguments [wrong-arg-types] Expected: (s: None) Actually passed: (s: mercurial.error.LookupError)
-
- 26 Sep, 2019 1 commit
-
-
kiilerix authored
This is based on code inspection, not fully tested. But py3 only, and obviously a step in the right direction. The areas touched here might need more work, converting arguments to byte strings. But worst case, we now get more clear error messages. --HG-- branch : stable
-
- 21 Sep, 2019 2 commits
-
-
Yuya Nishihara authored
The extension repository no longer exists. Let's say the extension is dead. https://www.mercurial-scm.org/wiki/RemoteUpdateExtension
-
Yuya Nishihara authored
As far as I know, the pbranch extension is dead. Let's remove the task widget for the pbranch extension.
-
- 26 Sep, 2019 1 commit
-
-
kiilerix authored
-
- 25 Sep, 2019 1 commit
-
-
kiilerix authored
-
- 05 Sep, 2019 1 commit
-
-
kiilerix authored
Avoid problems with b'tip': make sure rev always is passed as unicode, and keep it that way right until passing to Mercurial. (Actual updates fail in command server issues - they will be fixed next.)
-
- 07 Sep, 2019 1 commit
-
-
kiilerix authored
-
- 01 Sep, 2019 4 commits
- 31 Aug, 2019 1 commit
-
-
kiilerix authored
-
- 29 Aug, 2019 1 commit
-
-
kiilerix authored
-
- 18 Aug, 2019 1 commit
-
-
Yuya Nishihara authored
-
- 25 Aug, 2019 2 commits
-
-
kiilerix authored
-
kiilerix authored
Debugging and print statements can tell more about failing asserts, but it is nice to get *some* information up front, also to make it easier to reproduce. General guidelines: Try to avoid anything that must compute something and thus can fail - try to just inspect local variables (or whatever assert looked at). For type related asserts, try to add repr(). Sometimes, multiple variables are relevant - in that case use tuples.
-
- 23 Aug, 2019 1 commit
-
-
Matt Harbison authored
A couple of notable things: - `tortoisehg.autoresolve` still gets a default value in backout and rebase, even though it is not registered dynamicdefault. - the following were left with '' as the default, because it is used to set text with a QString, and it is unknown how far back None would be accepted. (Any other '' -> None conversions are not used to set text) * email.cc * email.to * gpg.key * hostfingerprints.* (strange the default here is a list) - `tortoisehg.overlayicons` in nautilus-thg needs to be registered, as does `debug.delaylock`. - `web.name` still takes a default because it is dynamicdefault
-
- 15 Aug, 2019 1 commit
-
-
kiilerix authored
-
- 18 Aug, 2019 1 commit
-
-
kiilerix authored
Avoid mercurial vfs layer ending up with: raise TypeError("Can't mix strings and bytes in path components")
-
- 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.
-
- 12 Apr, 2019 1 commit
-
-
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.
-
- 16 Mar, 2020 1 commit
-
-
Bram Belpaire authored
-
- 24 Mar, 2019 2 commits
-
-
Matt Harbison authored
Fixed up after running `2to3 -w -n -f imports -f imports2 .`. There are other imports that need fixing, but not all have a pycompat alias. So I'm splitting these up. TortoiseHgOverlayServer.py and thg replace stdio with byte buffers, which won't work on py3. They need to be revisited to see if this is still necessary with py2exe[1]. In the meantime, I conditionalized a couple things there to prevent extra stacktraces on py3, since the local variable holding the buffer is used further down in each case. [1] https://groups.google.com/d/msg/thg-dev/dZbFjZugORs/sGOnxBpnBgAJ
-
Matt Harbison authored
Fixed up after running `2to3 -w -n -f basestring .`
-
- 05 May, 2019 2 commits
-
-
Matt Harbison authored
Flagged by PyCharm.
-
Matt Harbison authored
Flagged by PyCharm.
-
- 23 Mar, 2019 1 commit
-
-
Matt Harbison authored
Fixed up after running `2to3 -w -n -f xrange .`.
-
- 27 Mar, 2019 1 commit
-
-
Matt Harbison authored
Spotted by Yuya.
-
- 24 Mar, 2019 2 commits
-
-
Matt Harbison authored
Fixed up after running `2to3 -w -n -f map .` It also replaced map+lambda with a list comprehension in qt_repotreemodel_test.py.
-
Matt Harbison authored
Converted with `2to3 -w -n -f idioms .`. The changes it wanted to make to tests/qt_repotreemodel_test.py are skipped because Yuya thought they are meant to test for specific class types. Additionally, a check in reporegistry.py of the selected indices when a drag is started is skipped, as the comment there implies it is testing for an exact type. Same goes for setModel() in repoview.py.
-
- 23 Mar, 2019 1 commit
-
-
Matt Harbison authored
This used `2to3 -w -n -f except .`, fixed an extra parenthesis in bugreport.py, and a commented out clause in pbranch.py.
-
- 30 Dec, 2018 1 commit
-
-
Matt Harbison authored
My initial attempt at this was to copy/paste/modify the ReviewBoard dialog, but I like the email dialog better- it doesn't have to manage a worker thread, and it doesn't attempt parse out errors to display a message box. Therefore, this is a copy and simplify of the email dialog. Long term, I'd like to add the preview tab back in based on `hg export`, and add controls to be able to query the server for, and specify reviewers. There are really only 2 other options: confirm and amend. Confirm doesn't make a lot of sense for the GUI, and amend is probably desired the vast majority of the time, so I'm punting on that for now. The icon is Apache 2.0 licensed from wikimedia.[1] [1] https://commons.wikimedia.org/wiki/File:Wikimedia_Phabricator_logo_unpadded.svg
-
- 06 Dec, 2018 1 commit
-
-
André Sintzoff authored
Since hg revision e1e3d1b498d3, the ancestor() function has been changed. In compressDlg() function of repowidget.py, the type of ctxa and ctxb is no more the same as the ctxa.ancestor(ctxb) and ctxb.ancestor(ctxa) one. --HG-- branch : stable
-