Can files on a feature branch be edited?

iscott's Avatar


04 Apr, 2017 12:10 AM

I have a new forked repo with the tip on a feature branch. When I try to edit its .hgsub file, or any file for that matter, I get "You can only edit files with revision being a valid branch". The online documentation only references "edit on branch:default".
Is there some way to edit files on a feature branch via Rhodecode, or do I need to merge the original repo to default before I fork it?


  1. Support Staff 1 Posted by Marcin Kuzminsk... on 04 Apr, 2017 08:56 AM

    Marcin Kuzminski's Avatar

    Hi Ian,

    yes this is possible, just make sure you switch to the feature branch from the files page. THere's a "switch to" interface on this page. Once on a head of a feature branch it will be possible to edit any file.


  2. 2 Posted by iscott on 04 Apr, 2017 05:04 PM

    iscott's Avatar

    Hi Marcin,

    Unfortunately the "switch to" selection did not help. I tried it with other repos as well, and noticed I can edit the branch files as long as the branch name does not contain a forward slash. The branch I'm trying to edit starts with "feature/..." which explains why it does not work.
    Do you happen to know of any workarounds for this?


  3. Support Staff 3 Posted by Marcin Kuzminsk... on 04 Apr, 2017 05:33 PM

    Marcin Kuzminski's Avatar


    Thanks for details. We'll check that ASAP and get back to you.

  4. Support Staff 4 Posted by Marcin Kuzminsk... on 04 Apr, 2017 07:08 PM

    Marcin Kuzminski's Avatar

    Infact it was an error, here's a commit that should fix that for now:

    You can patch the same file in your instance until this is a part of next release.

  5. 5 Posted by iscott on 04 Apr, 2017 07:41 PM

    iscott's Avatar

    Great, thanks for looking into that Marcin.
    I'll test the patch as soon as I can.

    Do you happen to know when the next release is planned?

  6. Support Staff 6 Posted by Marcin Kuzminsk... on 04 Apr, 2017 07:42 PM

    Marcin Kuzminski's Avatar

    I think in the next 5-7 days, so if you're not in rush you can wait :)


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


17 Oct, 2018 03:22 PM
15 Oct, 2018 05:20 AM
03 Oct, 2018 01:16 PM
01 Oct, 2018 08:41 AM
28 Sep, 2018 10:12 AM
26 Sep, 2018 04:34 AM