Change Largefiles directory

m.rossi's Avatar


14 Sep, 2015 02:22 PM


I noticed that our mercurial Largefiles folder is currently saved at:


which is on our OS partition, whilst all our repositories are on a
separate partition (which is a separate drive). Is there any way (some
config file?) to change the path of this folder? If not, would a simple
symbolic link work?

- Mireno

P (Please consider your environmental responsibility before printing this
The information contained in this e-mail is intended for the sole use of
the individual or entity named above and may contain privileged and/or
confidential information that is exempt from disclosure under applicable
law. If you are not the intended recipient, you are hereby notified that
any dissemination, distribution or duplication of this message by someone
other than the intended addressee or their designated agent is strictly
prohibited. If your receipt of this transmission is in error, please
promptly notify [email blocked] and destroy this message. Thank you.

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 15 Sep, 2015 10:01 AM

    Marcin Kuzminski's Avatar


    This is stored in a secret option inside RhodeCode database. Here's how you can change it.

    Run our interactive shell, called ishell.
    # Open iShell from the terminal
    $ .rccontrol/enterprise-1/profile/bin/paster ishell .rccontrol/enterprise-1/rhodecode.ini

    Then run those commands, make sure new directory is writable by RhodeCode:

    In [1]: RhodeCodeUi.get_by_key('usercache')
    Out[1]: <RhodeCodeUi[largefiles]usercache=>/mnt/hgfs/marcink-shared/workspace/xxxx/.cache/largefiles]>

    In [2]: largefiles_cache = RhodeCodeUi.get_by_key('usercache’)
    In [3]: largefiles_cache.ui_value = '/new/path’
    In [4]: Session().add(largefiles_cache);Session().commit()

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