changeset 50890:ab3267a86d5f

largefile: use sysstr to check for attribute presence in `rebase` wrapping We do not need bytes here.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 30 Aug 2023 12:01:37 +0200
parents 3934d85cf8e9
children 1b265336c42b
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py	Wed Aug 30 12:00:56 2023 +0200
+++ b/hgext/largefiles/overrides.py	Wed Aug 30 12:01:37 2023 +0200
@@ -1167,7 +1167,7 @@
 
 @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')