# Finding a CABLE revision in GitHub using svn user branch revision number

**URL:** <https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374>\
**Category:** CABLE\
**Tags:** help\
**Created:** [5 May 2026 06:39 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374 "2026-05-05T06:39:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlisonBennett](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/alisonbennett/32/1719_2.png) [@AlisonBennett](https://forum.access-hive.org.au/u/AlisonBennett)\
**Post date:** [5 May 2026 06:39 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/1 "2026-05-05T06:39:02Z")

</div>

## Description of request:

We are trying to replicate results of an experiment using CABLE-POP that was published in 2023 from source code currently stored in GitHub. Experimental results using the source code downloaded and compiled from ([https://github.com/CABLE-LSM/CABLE/tree/NESP2pt9\_BLAZE](https://github.com/CABLE-LSM/CABLE/tree/NESP2pt9_BLAZE "https://github.com/CABLE-LSM/CABLE/tree/NESP2pt9\_BLAZE")) do not match the old results. We would like to compare differences in the source code between the two simulations, however have only the svn branch and revision number which is [https://trac.nci.org.au/trac/cable/branches/Users/ab7412/GPP\_temp](https://trac.nci.org.au/trac/cable/branches/Users/ab7412/GPP_temp) (Revisions 9625 and 9627).  
This link no long appears to be active.

Is there any way to get access to this revision through the GitHub repo?

## Environment:

GitHub ; SVN repository

---

<div class="post-metadata">

**Author:** ![clairecarouge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/clairecarouge/32/380_2.png) [@clairecarouge](https://forum.access-hive.org.au/u/clairecarouge)\
**Post date:** [6 May 2026 04:38 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/2 "2026-05-06T04:38:04Z")

</div>



---

<div class="post-metadata">

**Author:** ![clairecarouge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/clairecarouge/32/380_2.png) [@clairecarouge](https://forum.access-hive.org.au/u/clairecarouge)\
**Post date:** [6 May 2026 05:03 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/3 "2026-05-06T05:03:35Z")

</div>

@AlisonBennett , I have some bad news. We did not save the `branches/Users/ab7412/GPP_temp` branch during the transition to git from SVN. So we won’t find these revision numbers in the CABLE repository. And we do not have the SVN repository anymore.

More generally, the commits that have been transferred from SVN, all have a line similar to this in the commit message:

```auto
 git-svn-id: https://trac.nci.org.au/svn/cable/trunk@9447 b483b3d9-cc7d-4f55-9e4c-b4562452379e

```

It typically identifies the SVN revision number.

For searching for an SVN revision number in the commit history (for example 9447), you can do:

```auto
git log --all --grep='git-svn-id:.*@9447'

```

which returns:

```auto
commit c5d0aecf363d5c629452b02dbf48286b5adcf543
Author: jxs599 <jxs599@b483b3d9-cc7d-4f55-9e4c-b4562452379e>
Date: Mon Jan 9 13:11:01 2023 +0000

    ''Trunk Update''
    
    '''Type:'''
    Reconcile
    
    '''Ticket:'''
    #360
    
    __Overview__
    Reconcile following update version of CABLE in ACCESS-CM2 and ESM15 and JAC
    
    
    git-svn-id: https://trac.nci.org.au/svn/cable/trunk@9447 b483b3d9-cc7d-4f55-9e4c-b4562452379e

```

I have searched for 9625 and 9627 and these are not present.

---

<div class="post-metadata">

**Author:** ![AlisonBennett](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/alisonbennett/32/1719_2.png) [@AlisonBennett](https://forum.access-hive.org.au/u/AlisonBennett)\
**Post date:** [6 May 2026 07:01 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/4 "2026-05-06T07:01:30Z")

</div>

UNOFFICIAL

[@Claire Carouge](mailto:claire.carouge@anu.edu.au)

Thank-you for checking. I suspected that was the case, although I had thought that the svn repository was to remain in a read only mode. The updates I’m interested in should also have been applied in the CABLE\_TRENDY branch so I might be able to find them with your method if I can dig up the revision number.

---

<div class="post-metadata">

**Author:** ![SeanBryan51](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/seanbryan51/32/276_2.png) [@SeanBryan51](https://forum.access-hive.org.au/u/SeanBryan51)\
**Post date:** [7 May 2026 18:09 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/5 "2026-05-07T18:09:52Z")

</div>

Hi @AlisonBennett, I was able to find: [CABLE-svn-archive/ab7412 at Users · CABLE-LSM/CABLE-svn-archive · GitHub](https://github.com/CABLE-LSM/CABLE-svn-archive/tree/Users/ab7412) which contains the GPP\_temp branch. I’m not sure if the precise revisions you need are there, but there might be clues in the commit history. Hope this helps!

---

<div class="post-metadata">

**Author:** ![clairecarouge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/clairecarouge/32/380_2.png) [@clairecarouge](https://forum.access-hive.org.au/u/clairecarouge)\
**Post date:** [8 May 2026 02:28 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/6 "2026-05-08T02:28:47Z")

</div>

Thanks @SeanBryan51 . I’m just summarising everything together for our future selves and others so we can hopefully select this summary as a solution.

### Finding old SVN commits for CABLE

**Check if commit exists in the CABLE repository**

You can search the [CABLE repository](https://github.com/CABLE-LSM/CABLE) history for an SVN revision. If you want to look for revision 9447, for example:

```auto
$ git log --all --grep='git-svn-id:.*@9447'

commit c5d0aecf363d5c629452b02dbf48286b5adcf543
Author: jxs599 <jxs599@b483b3d9-cc7d-4f55-9e4c-b4562452379e>
Date: Mon Jan 9 13:11:01 2023 +0000

    ''Trunk Update''
    
    '''Type:'''
    Reconcile
    
    '''Ticket:'''
    #360
    
    __Overview__
    Reconcile following update version of CABLE in ACCESS-CM2 and ESM15 and JAC
    
    
    git-svn-id: https://trac.nci.org.au/svn/cable/trunk@9447 b483b3d9-cc7d-4f55-9e4c-b4562452379e

```

**If the revision is not in the CABLE repository**

There is an [archive git repository for CABLE](https://github.com/CABLE-LSM/CABLE-svn-archive). You can find all the branches of the CABLE SVN repository in that repository. Although the SVN branches are mixed into some common git branches (main, Share and Users). It is not possible to use the same method to find a specific SVN revision. But “git log” allows to search commits based on various criteria. So one could search on the author, for example, with `git log --author="<name>" `. Or one could search on dates, etc.

---

<div class="post-metadata">

**Author:** ![AlisonBennett](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/alisonbennett/32/1719_2.png) [@AlisonBennett](https://forum.access-hive.org.au/u/AlisonBennett)\
**Post date:** [13 May 2026 05:55 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/7 "2026-05-13T05:55:02Z")

</div>

That’s awesome. Thanks Sean!

---

<div class="post-metadata">

**Author:** ![clairecarouge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/clairecarouge/32/380_2.png) [@clairecarouge](https://forum.access-hive.org.au/u/clairecarouge)\
**Post date:** [13 May 2026 23:29 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/8 "2026-05-13T23:29:35Z")

</div>



---

<div class="post-metadata">

**Author:** ![clairecarouge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/clairecarouge/32/380_2.png) [@clairecarouge](https://forum.access-hive.org.au/u/clairecarouge)\
**Post date:** [13 May 2026 23:29 UTC](https://forum.access-hive.org.au/t/finding-a-cable-revision-in-github-using-svn-user-branch-revision-number/6374/9 "2026-05-13T23:29:41Z")

</div>


