dav...@gmail.com wrote on Sat, 20 Apr 2013 03:50 -0700:
> On Thu, Apr 18, 2013 at 5:09 PM, Pete Wyckoff wrote:
> >> First issue
> >> ---
> >>
> >> git-p4 assumes the output of 'p4 print' adds a newline to the
> >> target. To work around this, git-p4.py strips the last char from
> >> symli
On Thu, Apr 18, 2013 at 5:09 PM, Pete Wyckoff wrote:
>> First issue
>> ---
>>
>> git-p4 assumes the output of 'p4 print' adds a newline to the
>> target. To work around this, git-p4.py strips the last char from
>> symlinks as shown in the following snippet:
>>
>> if type_base == "syml
I found some symlinks in our depot that have the newline and
others that do not. It looks like p4 print just dumps whatever
is in the depot file, which of course is what you would expect
it to do. So the question (for me) is, how did some of my symlink
targets end up without the newline? Note:
a...@aivor.com wrote on Thu, 18 Apr 2013 20:34 -0500:
> Perhaps it is a configuration item on the server and/or client. It seems we
> are running the same version of p4. But just to be sure, check yours against
> mine:
>
> $ cksum $(which p4)
> 3254530484 2420552 /usr/bin/p4
>
> If yours if di
On Apr 18, 2013, at 7:09 PM, Pete Wyckoff wrote:
> a...@aivor.com wrote on Tue, 16 Apr 2013 23:31 -0500:
>> git-p4.py (1.8.2.1.418.gaec3f77) has at least two behaviors that
>> seem to be incompatible with the version of p4 that I recently
>> downloaded from perforce.com (P4/LINUX26X86_64/2013.1/
a...@aivor.com wrote on Tue, 16 Apr 2013 23:31 -0500:
> git-p4.py (1.8.2.1.418.gaec3f77) has at least two behaviors that
> seem to be incompatible with the version of p4 that I recently
> downloaded from perforce.com (P4/LINUX26X86_64/2013.1/610569).
>
> TLDR: Is git-p4 written for an old version
Sorry about the =3D escapes. My first attempt to submit bounced b/c it was
html and I missed
cleaning some escapes. The snippet should be:
if type_base == "symlink":
git_mode = "12"
# p4 print on a symlink contains "target\n"; remove the newline
data = ''.join(co
git-p4.py (1.8.2.1.418.gaec3f77) has at least two behaviors that
seem to be incompatible with the version of p4 that I recently
downloaded from perforce.com (P4/LINUX26X86_64/2013.1/610569).
TLDR: Is git-p4 written for an old version of p4 CLI with different
behavior? Or for a windows or mac rele
8 matches
Mail list logo