Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

Add and removes files from label

scmuser created the topic: Add and removes files from label
Hi,

Could you please tell me how to add and remove files from already created labels?

mnanjala replied the topic: Re: Add and removes files from label
P4Web Release 2010.1 User Guide
[Getting Started] [How To…] [Browser Tips] [Glossary] [Road Map]
Adding and Replacing Files in a Label

There are essentially two steps to creating a label:

Create the label spec, which defines the name of the label and label view.
Tag the files with that label using Add/Replace files…
Add/Replace files… tags a set of files with a label. Once you have tagged them, you can refer to a set of files by their label name.
For more information about labels, see Working with Labels.

Add/Replace restrictions

Bear in mind that you cannot use Add/Replace files to update a label if:
The label’s Owner: field is not your userid. You can only update labels you own.
The label has its Options: field set to locked
For more information about a label’s fields, see Creating and Editing Labels.
To Add/Replace files in a label

Select the Labels tab.
Click on the name of the label to which you want to add or replace files.
Select Add/Replace labels… from the pulldown list.
On the Add/Replace Files page
Under Revision: select one of the following radio buttons:
Workspace Revision: tags the file revisions currently synced in your workspace with the label.
Head Revision: tags the file revisions that are currently the latest versions in the depot with the label.
Label, Changelist or Date: enter a label name, a changelist number, or a date to tag files at revisions matching that criteria.
Under Options: select one of the following radio buttons:
Replace label contents completely: specified files are added or replaced. Files previously in the label that do not match your specification are removed from the label.
Add files to label: adds or replaces only the files that you specify. Labeled files that do not match your specifications are unaffected.
Remove files from label: removes the named files from the label.
Under Files: you can specify or restrict the files to add or replace. Select one of the following options:
All files in label view: includes all files in this label’s label view.
Files in [path]: this option is only available when your current path is not the root of the depot tree. Select and subdirectories or at this level only, depending on which files you want to include.
Files in this list: includes only the files listed in the textbox. You must provide a full pathname for these files, and you can use wildcards. Note that the files you specify must be in the label’s view, or P4Web displays a “No such file” error. You can also specify revisions if you have selected the Workspace Revision option.
When you have finished defining the parameters, click the Preview Add/Replace button to see the results before actually updating the label. If the command has the expected results, click your browser’s “Back” button and click the Add/Replace button to proceed.
Source : www.perforce.com

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Perforce 2014 Server Upgrade Runbook: Verify, Checkpoint, Restore, and Validate

This guide converts the original Perforce 2014 upgrade notes into a practical runbook for production admins. It covers pre-checks, checkpoint-based recovery, post-upgrade verification, and migration cautions.

Read More

Perforce Server Disk Cleanup and Repository Size Management: A Safe, Practical Playbook

Running out of storage on a Perforce (Helix Core) server can quickly become an availability risk. This guide shows a safer cleanup workflow: measure space first, compare options, then execute changes with minimal operational risk.

Read More

Perforce Interview Prep: Essential p4 Commands for Workspaces, Changelists, and Admin Tasks

A practical Perforce interview refresher focused on high-value commands and admin concepts from real usage. Learn how to query changelists, exclude files, use metadata options, and avoid risky data-removal mistakes.

Read More

Perforce Training Guide: Hands-On P4 Curriculum for Users, SCM Engineers, and Release Teams

This revised guide turns a legacy Perforce training announcement into a practical reference for planning team enablement. It summarizes the syllabus, lab workflow, core P4 command areas, and post-training adoption practices.

Read More

Perforce Backup Commands: Checkpoints, Journal Rotation, and Restore Workflow

This guide explains the core Perforce backup commands from the original post and how to use them in a practical backup and restore workflow. You will get a command reference, comparison tables, and ready-to-adapt examples.

Read More

Perforce Tools Explained: Clients, Servers, Plug-ins, and Utilities (Legacy 2012 Reference)

This updated reference explains the Perforce tools listed in the original 2012 post, what each component does, and how they fit together. It also includes a practical p4 CLI workflow and cautions for legacy or renamed components.

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x