D3244: py3: use pycompat.bytestr() where repr in involved

2018-04-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc4a0626f6b6e: py3: use pycompat.bytestr() where repr in 
involved (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3244?vs=7963=8005

REVISION DETAIL
  https://phab.mercurial-scm.org/D3244

AFFECTED FILES
  hgext/mq.py

CHANGE DETAILS

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1164,7 +1164,7 @@
 for c in ('#', ':', '\r', '\n'):
 if c in name:
 raise error.Abort(_('%r cannot be used in the name of a patch')
- % c)
+ % pycompat.bytestr(c))
 
 def checkpatchname(self, name, force=False):
 self.checkreservedname(name)



To: pulkit, #hg-reviewers, durin42
Cc: durin42, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D3244: py3: use pycompat.bytestr() where repr in involved

2018-04-11 Thread durin42 (Augie Fackler)
durin42 accepted this revision.
durin42 added a comment.
This revision is now accepted and ready to land.


  queued, congrats on becoming the new mq maintainer

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3244

To: pulkit, #hg-reviewers, durin42
Cc: durin42, mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D3244: py3: use pycompat.bytestr() where repr in involved

2018-04-11 Thread pulkit (Pulkit Goyal)
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3244

AFFECTED FILES
  hgext/mq.py

CHANGE DETAILS

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1156,7 +1156,7 @@
 for c in ('#', ':', '\r', '\n'):
 if c in name:
 raise error.Abort(_('%r cannot be used in the name of a patch')
- % c)
+ % pycompat.bytestr(c))
 
 def checkpatchname(self, name, force=False):
 self.checkreservedname(name)



To: pulkit, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel