The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SVK::Log::Filter::Date - selects revisions based on svn:date property

SYNOPSIS

    > svk log --filter 'date today' //mirror/project/trunk
    ----------------------------------------------------------------------
    r1234 (orig r456):  author | 2006-10-10 14:58:23 -0600

    More changes to Foo.pm after lunch.
    ----------------------------------------------------------------------
    r1233 (orig r455):  author | 2006-10-10 09:28:52 -0600

    I made some changes to Foo.pm this morning.
    ----------------------------------------------------------------------

DESCRIPTION

An SVK log filter which selects for revisions with an svn:date property within a particular date range. Conceptually, this is similar to using -r {DATE}:{DATE}, but the date range is specified by a natural language phrase and the time is localtime instead of UTC. Any phrase that Date::PeriodParser understands can be used to specify a date range.

Examples:

    > svk log --filter 'date today'
    # show all commits from today
    
    > svk log --filter 'date yesterday'
    # show all commits from yesterday

    > svk log --filter 'date two days ago'
    # show commits that happened during a day two days ago

See the documentation for Date::PeriodParser supported phrases.

STASH/PROPERTY MODIFICATIONS

Date does not modify the stash or revision properties.

BUGS

None known.

AUTHORS

Michael Hendricks <michael@ndrix.org>

LICENSE AND COPYRIGHT

The MIT License

Copyright (c) 2006 Michael Hendricks (<michael@ndrix.org>).

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.