- 07 Sep, 2019 1 commit
-
-
kiilerix authored
Don't change that things are passed as byte string, but accept that the 'replace' dict has system string as key so it can be created as 'dict()' with named parameters.
-
- 31 Aug, 2019 1 commit
-
-
kiilerix authored
Fixes "Diff to local" in file context menu
-
- 25 Aug, 2019 1 commit
-
-
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
-
- 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.
-
- 14 Apr, 2019 1 commit
-
-
Matt Harbison authored
There are two other instances of immediate open() and close() that seem fine to leave alone.
-
- 12 Apr, 2019 1 commit
-
-
Matt Harbison authored
Converted with `2to3 -w -n -f dict .`, and then remove a bunch of list() wrapping.
-
- 24 Mar, 2019 1 commit
-
-
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.
-
- 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.
-
- 08 Oct, 2018 1 commit
-
-
Yuya Nishihara authored
--HG-- branch : stable
-
- 03 Oct, 2018 1 commit
-
-
Matt Harbison authored
I triggered this by accidentally double clicking a file in the shelved half of the shelf widget: Traceback (most recent call last): File "tortoisehg\hgqt\chunks.pyo", line 166, in vdiff File "tortoisehg\hgqt\visdiff.pyo", line 216, in visualdiff File "tortoisehg\hgqt\thgrepo.pyo", line 772, in __getitem__ File "mercurial\localrepo.pyo", line 856, in __getitem__ File "mercurial\context.pyo", line 439, in __init__ ProgrammingError: unsupported changeid 'patch' of type <type 'str'> Now it pops up a message saying 'Unable to find changeset'. Oddly, the value of --change in this case is 'patch', and I wasn't able to trigger this with visual diff. --HG-- branch : stable
-
- 26 May, 2018 2 commits
-
-
Yuya Nishihara authored
-
Yuya Nishihara authored
-
- 06 Dec, 2017 1 commit
-
-
Yuya Nishihara authored
Since Mercurial 4.4, ui.configbool('merge-tools', whatever) returns None by default. This is the minimal workaround for the problem. --HG-- branch : stable
-
- 25 Sep, 2016 1 commit
-
-
Yuya Nishihara authored
Dropped star imports to help static analysis tools.
-
- 08 Dec, 2015 1 commit
-
-
Yuya Nishihara authored
-
- 11 Aug, 2015 1 commit
-
-
Matt Harbison authored
I noticed on OS X that editing an executable shell script in visual diff would reset the file to 644 after saving. The problem only occurred if a snapshot was required, e.g. if there was more than one file in the diff. It looks like util.copyfile() preserves the mode when copying from $tmp back to wdir(), so it was just a matter of copying the mode when first creating the temp file. This code was ripped off from the extdiff extension prior to it switching to using archive, but I left out the symlink case since this code isn't using wopener. Perhaps this should be switched to use archive as well, which would allow subrepo support. --HG-- branch : stable
-
- 03 Aug, 2014 1 commit
-
-
Yuya Nishihara authored
All *_ui.py files need to be regenerated.
-
- 10 Aug, 2015 3 commits
-
-
Yuya Nishihara authored
-
Yuya Nishihara authored
Because QString does not exist in PyQt5, we should use unicode or str. As QString == unicode == str in this context, str is preferred than unicode for easier migration to Python 3.
-
Yuya Nishihara authored
Because QString does not exist in PyQt5, we should use unicode or str. As QString == unicode == str in this context, str is preferred than unicode for easier migration to Python 3.
-
- 01 Feb, 2014 1 commit
-
-
Yuya Nishihara authored
--HG-- branch : stable
-
- 01 Dec, 2013 1 commit
-
-
Yuya Nishihara authored
-
- 02 Jun, 2013 1 commit
-
-
Yuya Nishihara authored
RepoError is handled by qtrun.
-
- 22 Apr, 2012 1 commit
-
-
Yuya Nishihara authored
See also e32e49c980af.
-
- 10 Feb, 2012 1 commit
-
-
Steve Borho authored
--HG-- branch : stable
-
- 22 Jan, 2012 1 commit
-
-
Yuya Nishihara authored
-
- 27 Dec, 2011 1 commit
-
-
Steve Borho authored
It seems Windows environments will throw exceptions just anywhere. --HG-- branch : stable
-
- 08 Nov, 2011 1 commit
-
-
Steve Borho authored
--HG-- branch : stable
-
- 23 Jan, 2012 2 commits
-
-
Yuya Nishihara authored
-
Yuya Nishihara authored
-
- 06 Sep, 2011 1 commit
-
-
Piotr Klecha authored
--HG-- branch : stable
-
- 03 Jul, 2011 1 commit
-
-
Yuya Nishihara authored
'_nonexistant' can be unicode due to _(), but 'replace' dict shouldn't contain unicode. --HG-- branch : stable
-
- 31 May, 2011 1 commit
-
-
Steve Borho authored
--HG-- branch : stable
-
- 29 Apr, 2011 1 commit
-
-
Steve Borho authored
Corresponds to Mercurial extdiff changeset 3eb632d9cf42 --HG-- branch : stable
-
- 27 Apr, 2011 1 commit
-
-
Steve Borho authored
Essentially fixing a bug reported on the hgtk branch (#1842) --HG-- branch : stable
-
- 16 May, 2011 1 commit
-
-
Steve Borho authored
-
- 27 Mar, 2011 1 commit
-
-
Yuya Nishihara authored
Because the working copy can be modified at any time, the snapshot shouldn't be reused. --HG-- branch : stable
-
- 13 Mar, 2011 1 commit
-
-
Steve Borho authored
Many modules import wctxacions just to open files in an editor. This functionality belongs in qtlib.
-
- 07 Mar, 2011 1 commit
-
-
Steve Borho authored
visdiff.py was one of the first files ported to Qt, and it still has a number of GTKisms in it. Removing lambda functions in signal handlers in an attempt to cleanup QTimer warnings when the dialog is used. --HG-- branch : stable
-