# HG changeset patch # User Pierre-Yves David # Date 2023-08-30 10:01:37 # Node ID ab3267a86d5f0f3241d5234050f3e08257c91a7f # Parent 3934d85cf8e98831c65e3dc56a8dca2c14a5640b largefile: use sysstr to check for attribute presence in `rebase` wrapping We do not need bytes here. diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py +++ b/hgext/largefiles/overrides.py @@ -1167,7 +1167,7 @@ def hgclone(orig, ui, opts, *args, **kwa @eh.wrapcommand(b'rebase', extension=b'rebase') def overriderebasecmd(orig, ui, repo, **opts): - if not util.safehasattr(repo, b'_largefilesenabled'): + if not util.safehasattr(repo, '_largefilesenabled'): return orig(ui, repo, **opts) resuming = opts.get('continue')