Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8468387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:55:00+00:00 2026-06-10T15:55:00+00:00

I am developing an application that is supposed to be integrated with Perforce. In

  • 0

I am developing an application that is supposed to be integrated with Perforce. In the learning phase of basic Perforce command, I have a question of how ‘p4 changes’ work. Once a changelist get submitted, say, affecting files at

  1. ‘//depot/Web/content/main.css’
  2. ‘//depot/Tool/app/init.py’

If we now issue a command:

‘p4 changes //depot/Web/…’

then the changelist will show in the result. So how Perforce manage this information? Does it break down the paths and store? Or does it do an online substring query?

I saw there is a field “common path” in Perforce database schema, in this case, the value should be:

‘//depot/…’

So in this case, how does Perforce get the information?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T15:55:02+00:00Added an answer on June 10, 2026 at 3:55 pm

    For each change, the Perforce server records which files were affected by that change.

    This is one of many pieces of metadata about the changelist which are recorded in the server’s database.

    That information is used by commands like ‘p4 describe’ to find the correct set of files.

    The Perforce server contains a sophisticated pattern matching engine which can rapidly search through the database to locate the set of changes which affected a certain set of files, as described by a file pattern.

    This is a core operation of the server, so it’s highly optimized for this behavior.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a BlackBerry application that should work on OS 4.5+. I have
I am developing an app which supposed to work on devices that have OS
I am developing an application that is supposed to have games, when one clicks
I'm developing an application for android that is supposed to have three tabs that
I am developing an OS X application that is supposed to take input from
I am developing sample application that uses Google Map API. I have generated Google
I am developing a web application that is supposed to display land traffic in
I'm developing an application that is supposed to run on both Android as well
I am developing a buissness-application that is essentially a Home-screen, and is supposed to
I am developing an application that is supposed to run for long periods and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.