mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
the perforce 'p4 changes' command was formatteded wrong. I needto have the filesspec first with the time interval concatenated to this string not in a separate argument.
This commit is contained in:
parent
818cb13c7e
commit
ae7fb4b474
@ -22,12 +22,12 @@
|
||||
# The only perforce commands this module runs are:
|
||||
#
|
||||
# 'p4 describe -s $num'
|
||||
# 'p4 changes -s submitted \@$date_str\@now $filespec'
|
||||
# 'p4 changes -s submitted $filespec\@$date_str\@now '
|
||||
|
||||
# which looks like this
|
||||
|
||||
# 'p4 describe -s 75437'
|
||||
# 'p4 changes -s submitted @2003/05/10,@now //...'
|
||||
# 'p4 changes -s submitted //...@2003/05/10,@now '
|
||||
#
|
||||
# This means that tinderbox needs to run as a user which has Perforce
|
||||
# 'list' privileges.
|
||||
@ -75,8 +75,8 @@
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
# $Revision: 1.21 $
|
||||
# $Date: 2004/03/10 03:42:44 $
|
||||
# $Revision: 1.22 $
|
||||
# $Date: 2004/06/07 22:54:34 $
|
||||
# $Author: kestes%walrus.com $
|
||||
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/lib/TinderDB/VC_Perforce.pm,v $
|
||||
# $Name: $
|
||||
@ -156,7 +156,7 @@ use Utils;
|
||||
use VCDisplay;
|
||||
|
||||
|
||||
$VERSION = ( qw $Revision: 1.21 $ )[1];
|
||||
$VERSION = ( qw $Revision: 1.22 $ )[1];
|
||||
|
||||
@ISA = qw(TinderDB::BasicTxtDB);
|
||||
|
||||
@ -904,15 +904,15 @@ sub get_new_change_sets {
|
||||
|
||||
my @date_time_str = time2perforceFormat($date);
|
||||
my $date_str = $date_time_str[0];
|
||||
my $date_spec = '@'.$date_str.',@now';
|
||||
|
||||
# use this command to pick a starting changeset
|
||||
# p4 changes -s submitted @2003/05/10,@now //...
|
||||
# p4 changes -s submitted //...@2003/05/10,@now
|
||||
|
||||
$filespec = TreeData::Tree2Filespec($tree);
|
||||
my (@cmd) = (
|
||||
'p4', 'changes', '-s', 'submitted',
|
||||
'@'.$date_str.',@now',
|
||||
$filespec,
|
||||
$filespec.$date_spec
|
||||
);
|
||||
|
||||
my (@p4_output) = main::cache_cmd(@cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user