Jelmer Vernooij %!s(int64=2) %!d(string=hai) anos
pai
achega
3971b9ccd9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dulwich/refs.py

+ 1 - 1
dulwich/refs.py

@@ -1155,7 +1155,7 @@ def _set_default_branch(
             head_ref = LOCAL_TAG_PREFIX + branch
         else:
             raise ValueError(
-                "%s is not a valid branch or tag" % os.fsencode(branch)
+                "%r is not a valid branch or tag" % os.fsencode(branch)
             )
     elif origin_head:
         head_ref = origin_head