Re: rbt patch "file not found"

2016-09-23 Thread Christian Hammond
rbt patch hasn't had much work done for Perforce. It should work, but it
doesn't map Perforce depot paths to local file paths. You may need to
figure out what -p parameter you need to use (in order to strip the leading
part of the depot path).

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Fri, Sep 23, 2016 at 4:22 AM, Daniel Kuecker  wrote:

> Perforce repo and the diff was generated with and older version of RBTools
> (post-review era.).
>
> On Fri, Sep 23, 2016 at 12:06 AM Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> What type of repository is this, and how was the diff generated/uploaded?
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Thu, Sep 22, 2016 at 6:55 AM, Daniel Kuecker 
>> wrote:
>>
>>> Oops, forgot to mention I am running this on Windows 10.
>>>
>>> RBTools:  0.7.6
>>> RB: tried on versions 1.7.27 and 2.5.6.1
>>>
>>>
>>> On Thursday, September 22, 2016 at 8:50:04 AM UTC-5, Daniel Kuecker
>>> wrote:

 Running "rbt patch " command results in a file not found
 error for every file in the request.  I verified the files are synced to my
 local drive.  Any ideas?

 Command line info (path info removed for anonymity):
 C:\P4>rbt patch 127325
 Patch is being applied from request 127325 with diff revision 1.
 Failed to execute command: [u'patch', u'-i',
 u'c:\\users\\***\\appdata\\local\\temp\\tmpjq4zbu']
 can't find file to patch at input line 3
 Perhaps you should have used the -p or --strip option?
 The text leading up to this was:
 --
 |--- 
 ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
   ///***/setupscripts/trunk/16.0/source//_
 common_impl_details.rb#6
 |+++ 
 ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
   2016-02-18 09:21:42
 --
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 missing header for unified diff at line 17 of patch
 can't find file to patch at input line 17
 Perhaps you should have used the -p or --strip option?
 The text leading up to this was:
 --
 |/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
   ///***/setupscripts/trunk/16.0/source//_
 setup_common_impl_details.rb#2
 |+++ 
 ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
 2016-02-18 09:21:43
 --
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 missing header for unified diff at line 27 of patch
 can't find file to patch at input line 27
 Perhaps you should have used the -p or --strip option?
 The text leading up to this was:
 --
 |/***/setupscripts/trunk/16.0/source//_setup_impl_details.rb
  ///***/setupscripts/trunk/16.0/source/
 /_setup_impl_details.rb#2
 |+++ 
 ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb
2016-02-18 09:21:43
 --
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored


 --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed

Re: rbt patch "file not found"

2016-09-23 Thread Daniel Kuecker
Perforce repo and the diff was generated with and older version of RBTools
(post-review era.).

On Fri, Sep 23, 2016 at 12:06 AM Christian Hammond 
wrote:

> What type of repository is this, and how was the diff generated/uploaded?
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Thu, Sep 22, 2016 at 6:55 AM, Daniel Kuecker 
> wrote:
>
>> Oops, forgot to mention I am running this on Windows 10.
>>
>> RBTools:  0.7.6
>> RB: tried on versions 1.7.27 and 2.5.6.1
>>
>>
>> On Thursday, September 22, 2016 at 8:50:04 AM UTC-5, Daniel Kuecker wrote:
>>>
>>> Running "rbt patch " command results in a file not found
>>> error for every file in the request.  I verified the files are synced to my
>>> local drive.  Any ideas?
>>>
>>> Command line info (path info removed for anonymity):
>>> C:\P4>rbt patch 127325
>>> Patch is being applied from request 127325 with diff revision 1.
>>> Failed to execute command: [u'patch', u'-i',
>>> u'c:\\users\\***\\appdata\\local\\temp\\tmpjq4zbu']
>>> can't find file to patch at input line 3
>>> Perhaps you should have used the -p or --strip option?
>>> The text leading up to this was:
>>> --
>>> |---
>>> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>>>
>>> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb#6
>>> |+++
>>> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>>>   2016-02-18 09:21:42
>>> --
>>> File to patch:
>>> Skip this patch? [y]
>>> Skipping patch.
>>> 1 out of 1 hunk ignored
>>> missing header for unified diff at line 17 of patch
>>> can't find file to patch at input line 17
>>> Perhaps you should have used the -p or --strip option?
>>> The text leading up to this was:
>>> --
>>> |/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
>>>
>>> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb#2
>>> |+++
>>> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
>>> 2016-02-18 09:21:43
>>> --
>>> File to patch:
>>> Skip this patch? [y]
>>> Skipping patch.
>>> 1 out of 1 hunk ignored
>>> missing header for unified diff at line 27 of patch
>>> can't find file to patch at input line 27
>>> Perhaps you should have used the -p or --strip option?
>>> The text leading up to this was:
>>> --
>>> |/***/setupscripts/trunk/16.0/source//_setup_impl_details.rb
>>>
>>>  
>>> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb#2
>>> |+++
>>> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb
>>>2016-02-18 09:21:43
>>> --
>>> File to patch:
>>> Skip this patch? [y]
>>> Skipping patch.
>>> 1 out of 1 hunk ignored
>>>
>>>
>>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt patch "file not found"

2016-09-22 Thread Christian Hammond
What type of repository is this, and how was the diff generated/uploaded?

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Thu, Sep 22, 2016 at 6:55 AM, Daniel Kuecker  wrote:

> Oops, forgot to mention I am running this on Windows 10.
>
> RBTools:  0.7.6
> RB: tried on versions 1.7.27 and 2.5.6.1
>
>
> On Thursday, September 22, 2016 at 8:50:04 AM UTC-5, Daniel Kuecker wrote:
>>
>> Running "rbt patch " command results in a file not found
>> error for every file in the request.  I verified the files are synced to my
>> local drive.  Any ideas?
>>
>> Command line info (path info removed for anonymity):
>> C:\P4>rbt patch 127325
>> Patch is being applied from request 127325 with diff revision 1.
>> Failed to execute command: [u'patch', u'-i',
>> u'c:\\users\\***\\appdata\\local\\temp\\tmpjq4zbu']
>> can't find file to patch at input line 3
>> Perhaps you should have used the -p or --strip option?
>> The text leading up to this was:
>> --
>> |--- 
>> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>>   ///***/setupscripts/trunk/16.0/source//_comm
>> on_impl_details.rb#6
>> |+++ 
>> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>>   2016-02-18 09:21:42
>> --
>> File to patch:
>> Skip this patch? [y]
>> Skipping patch.
>> 1 out of 1 hunk ignored
>> missing header for unified diff at line 17 of patch
>> can't find file to patch at input line 17
>> Perhaps you should have used the -p or --strip option?
>> The text leading up to this was:
>> --
>> |/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
>>   ///***/setupscripts/trunk/16.0/source//_setu
>> p_common_impl_details.rb#2
>> |+++ 
>> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
>> 2016-02-18 09:21:43
>> --
>> File to patch:
>> Skip this patch? [y]
>> Skipping patch.
>> 1 out of 1 hunk ignored
>> missing header for unified diff at line 27 of patch
>> can't find file to patch at input line 27
>> Perhaps you should have used the -p or --strip option?
>> The text leading up to this was:
>> --
>> |/***/setupscripts/trunk/16.0/source//_setup_impl_details.rb
>>  ///***/setupscripts/trunk/16.0/source//_
>> setup_impl_details.rb#2
>> |+++ 
>> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb
>>2016-02-18 09:21:43
>> --
>> File to patch:
>> Skip this patch? [y]
>> Skipping patch.
>> 1 out of 1 hunk ignored
>>
>>
>> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbt patch "file not found"

2016-09-22 Thread Daniel Kuecker
Oops, forgot to mention I am running this on Windows 10.

RBTools:  0.7.6
RB: tried on versions 1.7.27 and 2.5.6.1

On Thursday, September 22, 2016 at 8:50:04 AM UTC-5, Daniel Kuecker wrote:
>
> Running "rbt patch " command results in a file not found error 
> for every file in the request.  I verified the files are synced to my local 
> drive.  Any ideas?
>
> Command line info (path info removed for anonymity): 
> C:\P4>rbt patch 127325
> Patch is being applied from request 127325 with diff revision 1.
> Failed to execute command: [u'patch', u'-i', 
> u'c:\\users\\***\\appdata\\local\\temp\\tmpjq4zbu']
> can't find file to patch at input line 3
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --
> |--- 
> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>  
>   
> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb#6
> |+++ 
> ///***/setupscripts/trunk/16.0/source//_common_impl_details.rb
>  
>   2016-02-18 09:21:42
> --
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> missing header for unified diff at line 17 of patch
> can't find file to patch at input line 17
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --
> |/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb 
>   
> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb#2
> |+++ 
> ///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
>  
> 2016-02-18 09:21:43
> --
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> missing header for unified diff at line 27 of patch
> can't find file to patch at input line 27
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --
> |/***/setupscripts/trunk/16.0/source//_setup_impl_details.rb   
>   
>  
> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb#2
> |+++ 
> ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb 
>2016-02-18 09:21:43
> --
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
>
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


rbt patch "file not found"

2016-09-22 Thread Daniel Kuecker
Running "rbt patch " command results in a file not found error 
for every file in the request.  I verified the files are synced to my local 
drive.  Any ideas?

Command line info (path info removed for anonymity): 
C:\P4>rbt patch 127325
Patch is being applied from request 127325 with diff revision 1.
Failed to execute command: [u'patch', u'-i', 
u'c:\\users\\***\\appdata\\local\\temp\\tmpjq4zbu']
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|--- 
///***/setupscripts/trunk/16.0/source//_common_impl_details.rb 
  
///***/setupscripts/trunk/16.0/source//_common_impl_details.rb#6
|+++ 
///***/setupscripts/trunk/16.0/source//_common_impl_details.rb 
  2016-02-18 09:21:42
--
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 17 of patch
can't find file to patch at input line 17
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb 
  
///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb#2
|+++ 
///***/setupscripts/trunk/16.0/source//_setup_common_impl_details.rb
 
2016-02-18 09:21:43
--
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 27 of patch
can't find file to patch at input line 27
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|/***/setupscripts/trunk/16.0/source//_setup_impl_details.rb   
  
 ///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb#2
|+++ 
///***/setupscripts/trunk/16.0/source//_setup_impl_details.rb 
   2016-02-18 09:21:43
--
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored


-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.