Fri, 21 Jul 2017 10:07:15 +0200 compat: add a compatibility layer for bookmark move
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 21 Jul 2017 10:07:15 +0200] rev 2752
compat: add a compatibility layer for bookmark move The API was updated in 4.3 (712a85b3677f) we adapt to that.
Fri, 21 Jul 2017 09:50:26 +0200 compat: use 'safehasattr' over 'hasattr'
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 21 Jul 2017 09:50:26 +0200] rev 2751
compat: use 'safehasattr' over 'hasattr' 'hasattr' is broken in python 2.
Fri, 14 Jul 2017 07:19:15 +0530 stack: show short node of changesets in `hg stack -v`
Pulkit Goyal <7895pulkit@gmail.com> [Fri, 14 Jul 2017 07:19:15 +0530] rev 2750
stack: show short node of changesets in `hg stack -v` After this patch, hg stack -v shows short nodes for changesets which have topic index, i.e. excluding the bases except t0.
Fri, 21 Jul 2017 01:04:32 +0200 compat: use 'repo.cachevfs' when available
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 21 Jul 2017 01:04:32 +0200] rev 2749
compat: use 'repo.cachevfs' when available In 4133c0b0fcd7 (core), the repository gained a new vfs dedicated to caches. We update the code to follow this new pattern.
Sun, 16 Jul 2017 11:11:06 +0200 debugobsconvert: take the lock when writing the obsstore file
Pierre-Yves David <pierre-yves.david@octobus.net> [Sun, 16 Jul 2017 11:11:06 +0200] rev 2748
debugobsconvert: take the lock when writing the obsstore file We were upgrading the store unprotected.
Fri, 14 Jul 2017 08:08:32 +0530 topics: add a test demonstarting sorting of topics by time using --age
Pulkit Goyal <7895pulkit@gmail.com> [Fri, 14 Jul 2017 08:08:32 +0530] rev 2747
topics: add a test demonstarting sorting of topics by time using --age
Fri, 14 Jul 2017 03:16:06 +0200 branching: merge with stable
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 03:16:06 +0200] rev 2746
branching: merge with stable
Fri, 14 Jul 2017 02:46:28 +0200 prev: allow to update to 't0' from 't1'
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 02:46:28 +0200] rev 2745
prev: allow to update to 't0' from 't1' When on the first changeset of a topic, one can move back one changeset to end up on t0. The new working copy parent to not belong to the topic, but the topic is still active. The next commit will create a new root to the active topic. You can get the same result using `hg up t0`
Fri, 14 Jul 2017 02:42:33 +0200 topic: add a 'topicidx()' to context
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 02:42:33 +0200] rev 2744
topic: add a 'topicidx()' to context This will be useful for the `t0` logic in `hg prev`
Fri, 14 Jul 2017 02:41:53 +0200 prev: retrieve the 'no-topic' result is a clear and reusable option
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 02:41:53 +0200] rev 2743
prev: retrieve the 'no-topic' result is a clear and reusable option We'll use it more, so let us make it pretty first.
Fri, 14 Jul 2017 02:35:12 +0200 prev: add '_getcurrenttopic' helper and use it
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 02:35:12 +0200] rev 2742
prev: add '_getcurrenttopic' helper and use it We'll add more spot where this information is used.
Fri, 14 Jul 2017 02:34:42 +0200 prev: explicitly use 'p1' as a variable name
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 02:34:42 +0200] rev 2741
prev: explicitly use 'p1' as a variable name This make the code clearer.
Fri, 14 Jul 2017 01:53:56 +0200 topic: rename the internal topic option
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 01:53:56 +0200] rev 2740
topic: rename the internal topic option we'll use it more widely so I give it a more generic name. It is an internal option so not wories regarding compatibility.
Fri, 14 Jul 2017 01:49:43 +0200 prev: extract the code computing the destination
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 01:49:43 +0200] rev 2739
prev: extract the code computing the destination This make the handling of the result simpler. The test agree as one return code is fixed.
Fri, 14 Jul 2017 01:32:34 +0200 prev: issue a proper error when reaching repository root
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 01:32:34 +0200] rev 2738
prev: issue a proper error when reaching repository root (and adds the associated test)
Fri, 14 Jul 2017 01:21:32 +0200 prev: stop creating a repository at the root of 'test-repo.t'
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 01:21:32 +0200] rev 2737
prev: stop creating a repository at the root of 'test-repo.t' We run the test in a subdirectory now, this usually avoid various kind of future issue.
Fri, 14 Jul 2017 01:12:20 +0200 prev: extract the function performing the update
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 01:12:20 +0200] rev 2736
prev: extract the function performing the update That code is fairly independant so let us isolate it to simplify the rest of the code.
Fri, 14 Jul 2017 01:01:22 +0200 prev: simplify the bookmark preserving logic
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 01:01:22 +0200] rev 2735
prev: simplify the bookmark preserving logic We can use 'None' as a special value and have a simpler code.
Fri, 14 Jul 2017 00:58:14 +0200 prev: rename 'p' to 'target'
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 00:58:14 +0200] rev 2734
prev: rename 'p' to 'target' This makes the code clearer.
Fri, 14 Jul 2017 00:54:48 +0530 topics: check for topic on commit before a user enters message
Pulkit Goyal <7895pulkit@gmail.com> [Fri, 14 Jul 2017 00:54:48 +0530] rev 2733
topics: check for topic on commit before a user enters message We have a enforce-topic cofig which can forbid user to commit without a topic on it. We used to check topic on a commit after the user enters message, but we should fail early.
Fri, 14 Jul 2017 03:14:27 +0200 packaging: update readme
Pierre-Yves David <pierre-yves.david@octobus.net> [Fri, 14 Jul 2017 03:14:27 +0200] rev 2732
packaging: update readme I forgot again.
Tue, 11 Jul 2017 21:39:39 +0530 topics: add a new flag --age which will show last touched time for topics
Pulkit Goyal <7895pulkit@gmail.com> [Tue, 11 Jul 2017 21:39:39 +0530] rev 2731
topics: add a new flag --age which will show last touched time for topics This adds a new flag `--age` to `hg topic` command which will show topics sorted by their last touched time and will also show the last touched time for them. This patch also adds a simple test to make sure the flag does not breaks by future changes. Adding more tests showing output like "3 hours ago", "2 minutes ago" etc will change as the code takes time.time() into account which will increase with time, and hence the output will change, so we need some static output like a date.
Tue, 11 Jul 2017 11:24:43 +0200 uncommit: expose the feature with a '--extract' to amend
Pierre-Yves David <pierre-yves.david@octobus.net> [Tue, 11 Jul 2017 11:24:43 +0200] rev 2730
uncommit: expose the feature with a '--extract' to amend The name of the "uncommit" feature have been an ongoing issue, but no better name have been found in the past year. We try another approach by exposing the 'uncommit' feature directly in `hg amend`. The command will not be able to do both operation a the same time (add new change to the commit + extract should change, but this is already the case with the two command today.
Tue, 11 Jul 2017 12:00:45 +0200 uncommit: add support for -U and -D
Pierre-Yves David <pierre-yves.david@octobus.net> [Tue, 11 Jul 2017 12:00:45 +0200] rev 2729
uncommit: add support for -U and -D
(0) -1000 -300 -100 -50 -24 +24 +50 +100 +300 +1000 tip