Differences between revisions 5 and 6
Revision 5 as of 2013-08-26 19:48:31
Size: 247
Comment:
Revision 6 as of 2013-08-26 23:40:30
Size: 1279
Editor: BrendanCully
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Santa Clarita-born Sunni Roberts is 100% hooked on [[http://www.fizzlive.com/member/367815/blog/view/509691|Costa Blanca Spain weather March,]] gizmos, robotics. Finally she is fascinated by spending valuable time together with her best friends. == Qtimes Extension ==

'''This extension is not distributed with Mercurial.'''

''Author: Andrei Vermel''

Download site: Download direct from this page - [[attachment:qtimes.py]]

=== Overview ===

Allows to save or restore modification times of files affected by patch queues.
This helps to avoid recompilation following qpop/qpush.

Timestamps of files modified since last save are not restored.

An example of usage:
{{{
>hg qpush -a
>hg qtimes -s # save modification times
>make # build with patches applied

Suppose we want to make a certain patch, that's not at the top of a patch queue a
permanent changeset. Usually this would involve recompilation.

>hg qpop -a # commit 'patch_to_commit'
>hg qup patch_to_commit
>hg qpush
>hg qremove -r tip
>hg qpush -a # now all source files are the same as of the last build
>hg qtimes -r # restore time stamps
>make # does nothing, as time stamps are restored
}}}

=== Configuration ===
Configure your .hgrc to enable the extension by adding following lines:

{{{
[extensions]
qtimes = path/to/qtimes.py
}}}

== See also ==

 * UntouchExtension

----
CategoryExtensionsByOthers

Qtimes Extension

This extension is not distributed with Mercurial.

Author: Andrei Vermel

Download site: Download direct from this page - qtimes.py

Overview

Allows to save or restore modification times of files affected by patch queues. This helps to avoid recompilation following qpop/qpush.

Timestamps of files modified since last save are not restored.

An example of usage:

>hg qpush -a
>hg qtimes -s               # save modification times 
>make                       # build with patches applied

Suppose we want to make a certain patch, that's not at the top of a patch queue a 
permanent changeset. Usually this would involve recompilation.

>hg qpop -a                 # commit 'patch_to_commit'
>hg qup patch_to_commit
>hg qpush
>hg qremove -r tip
>hg qpush -a                # now all source files are the same as of the last build
>hg qtimes -r               # restore time stamps
>make                       # does nothing, as time stamps are restored

Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
qtimes = path/to/qtimes.py

See also


CategoryExtensionsByOthers

QtimesExtension (last edited 2017-11-11 18:17:06 by avv)