- 18 Nov, 2019 1 commit
-
-
Matt Harbison authored
Since hg 73e6d3346e4f.
-
- 25 Sep, 2019 1 commit
-
-
kiilerix 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.
-
- 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.
-
- 29 Apr, 2019 1 commit
-
-
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.
-
- 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 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
Fixed up after running `2to3 -w -n -f nonzero .`.
-
- 21 Feb, 2019 1 commit
-
-
Matt Harbison authored
Yet another ProgrammingError in __getitem()__ complaining '' isn't supported. I can't effectively test this because fiddling with the manifest view crashes thg.exe with the PyQt libraries that I have available locally. --HG-- branch : stable
-
- 24 Feb, 2018 1 commit
-
-
Yuya Nishihara authored
-
- 04 Jan, 2018 1 commit
-
-
Yuya Nishihara authored
--HG-- branch : stable
-
- 23 Jul, 2017 1 commit
-
-
Yuya Nishihara authored
All QVariant objects should be implicitly converted by toPyObject().
-
- 25 Sep, 2016 1 commit
-
-
Yuya Nishihara authored
Dropped star imports to help static analysis tools.
-
- 18 Jul, 2016 1 commit
-
-
Yuya Nishihara authored
--HG-- branch : stable
-
- 27 Feb, 2016 1 commit
-
-
Yuya Nishihara authored
It was renamed to subdirmatcher at Mercurial d3f1b7ee5e70.
-
- 06 Jun, 2015 1 commit
-
-
Yuya Nishihara authored
They've been there for years because of laziness. I finally decided to clean things up.
-
- 19 May, 2015 1 commit
-
-
Yuya Nishihara authored
We're on Python 2.6+ and util.any/all no longer exist.
-
- 10 Aug, 2015 1 commit
-
-
Yuya Nishihara authored
As unicode == str in this context, we can use str. This will ease the future migration to Python 3.
-
- 24 Feb, 2014 2 commits
-
-
Yuya Nishihara authored
If hgsubrepo isn't accessible, for example, due to permission error, the error message should be displayed in FileView. So ManifestModel can simply suppress these exceptions. --HG-- branch : stable
-
Yuya Nishihara authored
itersubrepos() isn't appropriate just to iterate subrepo paths and ctxs. It calls ctx.sub() and may raise Abort or OSError (=WindowsError) if back-end executable is not found. --HG-- branch : stable
-
- 09 Feb, 2014 2 commits
-
-
Yuya Nishihara authored
The default "unknown file" icon looks bad with our status overlay, at least on Windows XP. --HG-- branch : stable
-
Yuya Nishihara authored
Current implementation has several issues: - doubled overlay icon due to Explorer integration (Windows Vista or later?) - SHGetFileInfo() is not recommended to call from the main thread (Windows) http://msdn.microsoft.com/en-us/library/windows/desktop/bb762179(v=vs.85).aspx - extra overhead to stat() working-directory files (and does not work if the file has been removed) - some icons are hard to distinguish with status overlay --HG-- branch : stable
-
- 06 Feb, 2014 1 commit
-
-
Yuya Nishihara authored
Because workingctx has no real identity, "wctx1.node() == wctx2.node()" does not mean they are exactly the same. So manifest model shouldn't ignore repeated setRev(None) or setRawContext(wctx) requests. Currently patchctx isn't affected by this problem because it lacks __eq__(), but the same can be said for patchctx in principle. Though changes in patchctx can be detected by ctx.thgid(), I decided not to use it. Eventually, we want to remove context and repository extensions. This fixes missing refresh after shelve/unshelve. --HG-- branch : stable
-
- 30 Jan, 2014 2 commits
-
-
Yuya Nishihara authored
If the currently-selected revision is qrefresh-ed, manifest model shouldn't skip the subsequent setRev() request just because the revision number is the same. This fixes RepoLookupError in FileData after qrefresh. --HG-- branch : stable
-
Yuya Nishihara authored
--HG-- branch : stable
-
- 12 Jan, 2014 1 commit
-
-
Yuya Nishihara authored
They are important to handle subrepos efficiently.
-
- 11 Jan, 2014 1 commit
-
-
Yuya Nishihara authored
-
- 16 Dec, 2013 2 commits
-
-
Yuya Nishihara authored
--HG-- branch : stable
-
Yuya Nishihara authored
It was silently ignored by visdiff.snapshot(). --HG-- branch : stable
-
- 14 Dec, 2013 3 commits
-
-
Yuya Nishihara authored
--HG-- branch : stable
-
Yuya Nishihara authored
--HG-- branch : stable
-
Yuya Nishihara authored
Previously it allowed negative row and invalid column number. --HG-- branch : stable
-
- 05 Jan, 2014 1 commit
-
-
Yuya Nishihara authored
-
- 30 Dec, 2013 1 commit
-
-
Yuya Nishihara authored
-
- 19 Dec, 2013 1 commit
-
-
Yuya Nishihara authored
Up until 3935fa85ce52, keyword filter was case-insensitive on Windows because fnmatch follows the rule of the underlying operating system. Currently we have no common rule about the case sensitivity (*1), but case- insensitive matching will be good for quick filters. *1: manifest: (originally) case-insensitive on Windows revdetails: case-sensitive, but replaced by manifest model status: case-sensitive repofilter: ("keyword()" predicate is) case-insensitive
-
- 22 Dec, 2013 1 commit
-
-
Yuya Nishihara authored
This will be used to filter out unmodified files in merge changeset.
-
- 23 Dec, 2013 1 commit
-
-
Yuya Nishihara authored
-
- 24 Dec, 2013 1 commit
-
-
Yuya Nishihara authored
It will be used to update the file view on revision change.
-
- 22 Dec, 2013 1 commit
-
-
Yuya Nishihara authored
-