repro.log #1

  • //
  • guest/
  • tom_tyler/
  • repro/
  • ShelvedCLDisappeard/
  • repro.log
  • View
  • Commits
  • Open Download .zip Download (3 KB)
Started repro.sh v1.0.0 at Tue Apr 14 14:52:02 EDT 2026.
ReproDir=/tmp/repro
==============================================================================
Scenario 1: Shelved CL Disappeared


Preliminary info: Show versions of p4/p4d on the PATH:
Executing command: p4 -V
Perforce - The Fast Software Configuration Management System.
Copyright 1995-2025 Perforce Software.  All rights reserved.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
Version of OpenSSL Libraries: OpenSSL 3.0.15 3 Sep 2024
See 'p4 help [ -l ] legal' for additional license information on
these licenses and others.
Extensions/scripting support built-in.
Parallel sync threading built-in.
Rev. P4/MACOSX12ARM64/2025.1/2810567 (2025/08/05).
Executing command: p4d -V
Perforce - The Fast Software Configuration Management System.
Copyright 1995-2025 Perforce Software.  All rights reserved.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
Version of OpenSSL Libraries: OpenSSL 3.0.15 3 Sep 2024
This product includes software developed by the OpenLDAP Foundation
 (http://www.openldap.org/)
This product includes software developed by Computing Services
at Carnegie Mellon University: Cyrus SASL (http://www.cmu.edu/computing/)
Version of OpenLDAP Libraries: 2.5.17
Version of Cyrus SASL Libraries: 2.1.28
See 'p4 help [ -l ] legal' for additional license information on
these licenses and others.
Using no memory manager.
Rev. P4D/MACOSX12ARM64/2025.1/2810567 (2025/08/05).
License: none

Preliminary setup: Spin up local repo.
Executing command: mkdir /tmp/repro
mkdir: /tmp/repro: File exists
Operating in: /tmp/repro
Executing command: p4 init -C0 -n
Server ttyler-dvcs-1776192722 saved.

Add some files.
Executing command: p4 status
One.h - reconcile to add //stream/main/One.h#1
Reconcile and submit.
//stream/main/One.h#1 - opened for add
Submitting change 1.
Locking 1 files ...
add //stream/main/One.h#1
Change 1 submitted.
Executing command: p4 edit One.h
//stream/main/One.h#1 - opened for edit
Change 2 created with 1 open file(s).
CL=2
Executing command: p4 shelve -c 2
Shelving files for change 2.
edit //stream/main/One.h#1
Change 2 files shelved.
Executing command: p4 revert //...
//stream/main/One.h#1 - was edit, reverted
The change exists now:
Executing command: p4 -s verify -q -S @=2
exit: 0
Executing command: p4 -s submit -e 2
info: Submitting change 2.
info: Locking 1 files ...
info: edit //stream/main/One.h#2
info: Change 2 submitted.
exit: 0
Now, try the verify with @= with the CL now submitted.
Executing command: p4 -s verify -q -S @=2
error: A revision range cannot be used here.
exit: 1
Now, try the verify with @= with a totally bogus CL that doesn't exist yet.
Executing command: p4 -s verify -q -S @=3
error: A revision range cannot be used here.
exit: 1
==============================================================================
Test completed with no errors. Results are valid.
# Change User Description Committed
#1 32569 C. Thomas Tyler Added repro with input from @Domenic.
Thanks!