##// END OF EJS Templates
docs/source/whatsnew/version7.rst: Fix typo...
docs/source/whatsnew/version7.rst: Fix typo Fix a minor typo in the release notes for version 7.25. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>

File last commit:

r26368:0e53bd9d
r26614:38b4f141
Show More
hist-range-glob-feature.rst
25 lines | 790 B | text/x-rst | RstLexer
/ docs / source / whatsnew / pr / hist-range-glob-feature.rst
Daniel Goldfarb
add whatsnew/pr rst file
r26366 History Range Glob feature
==========================
Daniel Goldfarb
fix some formatting in rst file.
r26368 Previously, when using ``%history``, users could specify either
Daniel Goldfarb
add whatsnew/pr rst file
r26366 a range of sessions and lines, for example:
Daniel Goldfarb
fix some formatting in rst file.
r26368 .. code-block:: python
Daniel Goldfarb
add whatsnew/pr rst file
r26366
Daniel Goldfarb
fix some formatting in rst file.
r26368 ~8/1-~6/5 # see history from the first line of 8 sessions ago,
# to the fifth line of 6 sessions ago.``
Daniel Goldfarb
add whatsnew/pr rst file
r26366
Daniel Goldfarb
fix some formatting in rst file.
r26368 Or users could specify a glob pattern:
Daniel Goldfarb
add whatsnew/pr rst file
r26366
Daniel Goldfarb
fix some formatting in rst file.
r26368 .. code-block:: python
-g <pattern> # glob ALL history for the specified pattern.
However users could *not* specify both.
If a user *did* specify both a range and a glob pattern,
then the glob pattern would be used (globbing *all* history) *and the range would be ignored*.
---
With this enhancment, if a user specifies both a range and a glob pattern, then the glob pattern will be applied to the specified range of history.