Jan Vrany <jan.vrany@labware.com> [Thu, 08 Oct 2020 14:04:07 +0100] rev 925
Add (experimental) option to use original working copy for commits
...rather than (possibly shared) temporary one. Use of temporary one
makes a lot of things more complex and error-prone (such as, amending
commits and handling bookmarks).
Moreover, it is confusing for most users and hard to understand what
has happened when something goes wrong. This should make things simpler
and more like things work in non-Smalltalk world.
Jan Vrany <jan.vrany@labware.com> [Fri, 19 Feb 2021 08:29:41 +0000] rev 924
Rework and fix HGSourceCodeManager >> #revisionLogOf:...directory:module:`
This commit changes the logic in two ways:
1. #newestRevision is now the newest revision in the branch that
*contains* given file (not necesarily modidfes it). If there are
multiple heads in that branch, pretty much random one is returned.
This changes old behavior and therefore this commit updates
tests.
2. If a specific single revision is requested, i.e., both from and to revisions
are the same, revision log with that single revision is returned
no matter whether it modifies the file or even contains that file
at all. This is essentially a workaround to fix issue #305.
Moreover, this commit simplifies the code a lot by delegating all the
changeset searching and filtering to mercurial using revset expressions.
See https://swing.fit.cvut.cz/projects/stx-jv/ticket/305#comment:3
Jan Vrany <jan.vrany@labware.com> [Wed, 17 Feb 2021 15:01:13 +0000] rev 923
Fix issue with bookmark not advancing upon commit
...when original repository is used. This was caused by forcefull
updating of working copy to a revision, which deactivates active
bookmark.
Jan Vrany <jan.vrany@labware.com> [Tue, 16 Feb 2021 08:42:02 +0000] rev 922
Add tests checking that bookmark is moved upon commit
Jan Vrany <jan.vrany@labware.com> [Fri, 29 Jan 2021 08:53:32 +0000] rev 921
Fix "slow grow operation" warning when commiting extensions only
While harmless, it's bit distracting. Better fixed.
Jan Vrany <jan.vrany@labware.com> [Fri, 29 Jan 2021 08:49:31 +0000] rev 920
Fix nasty bug when filing out extension
When filing out extensions and using packages' original working copy,
extension methods' source must be made local (just as for ordinary class
methods).
However, this MUST be done BEFORE a stream for extensions is opened otherwise
it may have been truncated before `#makeLocalStringSource` is called.
Jan Vrany <jan.vrany@labware.com> [Thu, 17 Dec 2020 12:16:18 +0000] rev 919
Fix long standing bug in parsing node ids starting with long sequence of decimal numbers
Jan Vrany <jan.vrany@labware.com> [Tue, 17 Nov 2020 15:26:41 +0000] rev 918
Never remove protected files upon commit
If the file is protected, never remove it even if it *looks* it is
not needed. When user mark a file a protected, let her / him to
remove it hereself / himself manually.
Jan Vrany <jan.vrany@labware.com> [Tue, 27 Oct 2020 00:00:40 +0000] rev 917
Fix (random) source corruption in `fileOutClass:on:`
`fileOutClass:on:` used to send `#makeLocalStringSource` to each
method to ensure source is loaded into memory before overwriting the
file. However, this was done at point where the file could have been
already opened for writing and truncated, so some method's source may
have been (and was!) silently corrupted.
This commit sends `#makeLocalStringSource` before the file is opened for
writing, avoiding source corruption as described above.
Jan Vrany <jan.vrany@labware.com> [Mon, 26 Oct 2020 22:18:01 +0000] rev 916
`HGMergeTool`: save `-merge-info.txt` file with list of cherry-picked changesets
...to include in commit log.