# Perforce - branch changed

**URL:** https://www.finalbuilder.com/forums/t/perforce-branch-changed/818
**Category:** Discussion
**Created:** [April 20, 2008, 10:22am UTC](https://www.finalbuilder.com/forums/t/perforce-branch-changed/818 "2008-04-20T10:22:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 20, 2008, 10:22am UTC](https://www.finalbuilder.com/forums/t/perforce-branch-changed/818/1 "2008-04-20T10:22:39Z")

</div>

well, another one :)

Is it possible to ask the Perforce if a branch has been changed it the last xx days and get back True or False as result?

Also, what is the Perforce Tag action?

Thanks,

Guy.

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [April 21, 2008, 1:56am UTC](https://www.finalbuilder.com/forums/t/perforce-branch-changed/818/2 "2008-04-21T01:56:55Z")

</div>

Hi guy,   
  
 I’m going to leave this one for the Perforce gurus. Can anyone help? 🙂   
  
 - Angus

---

<div class="post-metadata">

### Author: ![mikep](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@mikep](https://www.finalbuilder.com/forums/u/mikep)
#### Post date: [May 22, 2008, 8:17am UTC](https://www.finalbuilder.com/forums/t/perforce-branch-changed/818/3 "2008-05-22T08:17:27Z")

</div>

It’s not straightforward, but it can be done. It’s been a while since I’ve used this, but I think this is how it worked:   
  
 Use the ‘p4 changes’ command to ask Perforce for the last changelist number submitted to a specific branch or file. If you store this changelist number, you can compare it the next time around to determine whether the branch changed. FB provides various means for reading/writing a changelist state file (everything from a basic text file, to an INI file, to a PropertySet).   
  
 Hope this helps.
