# Checkout of um at a particular revision

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654>\
**Category:** Unified Model\
**Created:** [28 February 2025 10:14 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654 "2025-02-28T10:14:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![penmaher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/penmaher/32/437_2.png) [@penmaher](https://cms-helpdesk.ncas.ac.uk/u/penmaher)\
**Post date:** [28 February 2025 10:14 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654/1 "2025-02-28T10:14:53Z")

</div>

Hi CMS team,

I am debugging an input file that is failing to open. I have done a fcm co of relevant um code for local testing, but I would like a branch on my development on trac, as I think this will be helpful in the future (right now I just have a local copy of code I can’t check back onto trac).

I could like to have a branch of the [cmip6 branch here](https://code.metoffice.gov.uk/trac/um/browser/main/branches/pkg/Share/vn10.7_CMIP6_production_mods/?rev=43043)

I am copying the branch using:

fcm branch-create --bob -k no\_ticket\_needed pacemaker\_runs\_code\_bob fcm:um.x-br/pkg/Share/vn10.7\_CMIP6\_production\_mods@43043

however, when I do a diff of the code branch I just created and the original branch I tried to copy, I can see they are different.

Any idea why the branch I created is not a copy of the URL I gave it?

Thank you in advance,

Penny

---

<div class="post-metadata">

**Author:** ![grenville](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/grenville/32/29_2.png) [@grenville](https://cms-helpdesk.ncas.ac.uk/u/grenville)\
**Post date:** [28 February 2025 10:43 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654/2 "2025-02-28T10:43:47Z")

</div>

Penny

Input files should not fail to open – what is the offending suite/file

Grenville

---

<div class="post-metadata">

**Author:** ![penmaher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/penmaher/32/437_2.png) [@penmaher](https://cms-helpdesk.ncas.ac.uk/u/penmaher)\
**Post date:** [28 February 2025 10:59 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654/3 "2025-02-28T10:59:52Z")

</div>

I was able to identify an input filename had the extension ‘.n’ instead of ‘.nc’. So it was just a typo. I was able to fix that aspect.

---

<div class="post-metadata">

**Author:** ![RosalynHatcher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rosalynhatcher/32/11_2.png) [@RosalynHatcher](https://cms-helpdesk.ncas.ac.uk/u/RosalynHatcher)\
**Post date:** [28 February 2025 11:13 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654/4 "2025-02-28T11:13:44Z")

</div>

Hi Penny,

I just tried this out and the branch I created is the same as the original branch. I ran this:

```auto
ros@puma2$ fcm branch-create -t test --bob ros_test fcm:um.x-br/pkg/Share/vn10.7_CMIP6_production_mods@43043
ros@puma2$ fcm co fcm:um.x-br/test/rosalynhatcher/r43043_ros_test
ros@puma2$ fcm co fcm:um.x-br/pkg/Share/vn10.7_CMIP6_production_mods@43043
ros@puma2$ diff -r vn10.7_CMIP6_production_mods r43043_ros_test
Binary files vn10.7_CMIP6_production_mods/.svn/wc.db and r43043_ros_test/.svn/wc.db differ

```

Regards,  
Ros.

---

<div class="post-metadata">

**Author:** ![RosalynHatcher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rosalynhatcher/32/11_2.png) [@RosalynHatcher](https://cms-helpdesk.ncas.ac.uk/u/RosalynHatcher)\
**Post date:** [28 February 2025 11:21 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654/5 "2025-02-28T11:21:59Z")

</div>

Hi Penny,

I’ve just checked out your branch and a diff shows it’s the same as the code your branched from…

```auto
ros@puma2$ diff -r r43043_pacemaker_runs_code_bob vn10.7_CMIP6_production_mods
Binary files r43043_pacemaker_runs_code_bob/.svn/wc.db and vn10.7_CMIP6_production_mods/.svn/wc.db differ

```

Cheers,  
Ros.

---

<div class="post-metadata">

**Author:** ![penmaher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/penmaher/32/437_2.png) [@penmaher](https://cms-helpdesk.ncas.ac.uk/u/penmaher)\
**Post date:** [28 February 2025 11:33 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654/6 "2025-02-28T11:33:20Z")

</div>

Thanks Ros.

I just took a new copy of vn10.7\_CMIP6\_production\_mods. So the diff you did was against the files I just downloaded.

I was suspicious that my folder vn10.7\_CMIP6\_production\_mods\_local\_copy was the problem. Which it was in the end. On reflection I must not have had the code at the revision I expected and was actually at the HEAD. Thanks for helping me debug it.

---

<div class="post-metadata">

**Author:** ![RosalynHatcher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rosalynhatcher/32/11_2.png) [@RosalynHatcher](https://cms-helpdesk.ncas.ac.uk/u/RosalynHatcher)\
**Post date:** [28 February 2025 11:54 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654/7 "2025-02-28T11:54:18Z")

</div>

Hi Penny,

Glad you resolved it. You may already be aware of it but in case not, `fcm info` is a useful command that will tell you what revision of the code you are looking at in a working copy.

Regards,  
Ros.

---

<div class="post-metadata">

**Author:** ![RosalynHatcher](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/rosalynhatcher/32/11_2.png) [@RosalynHatcher](https://cms-helpdesk.ncas.ac.uk/u/RosalynHatcher)\
**Post date:** [11 March 2025 15:43 UTC](https://cms-helpdesk.ncas.ac.uk/t/checkout-of-um-at-a-particular-revision/1654/8 "2025-03-11T15:43:34Z")

</div>


