------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4442/
------------------------------------------------------------------------------

New ticket #4442 by rdo
For Beanbag, Inc. > RBTools

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
rbt not working with mercurial
==============================================================================

# What version are you running?
RBTools 0.7.6


# What steps will reproduce the problem?
1. go to a mercurial repository
2. type rbt post


# What is the expected output? What do you see instead?
a successfull review post

# What operating system are you using?
Windows 7


# Attach the debug out from the command.

```
>>> RBTools 0.7.6
>>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]
>>> Running on Windows-7-6.1.7601-SP1
>>> Home = C:\Users\rpaskalev\AppData\Roaming
>>> Current directory = c:\rdo\work\v9\v9_be
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> Checking for a Git repository...
>>> Running: git rev-parse --git-dir
>>> Command exited with rc 128: ['git', 'rev-parse', '--git-dir']
fatal: Not a git repository (or any of the parent directories): .git
---
>>> Checking for a Mercurial repository...
>>> Running: hg root
>>> Running: hg showconfig
>>> Running: hg svn info
>>> Command exited with rc 255: [u'hg', u'svn', u'info']
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 204, in _runcatch
  File "mercurial\dispatch.pyo", line 779, in _dispatch
  File "mercurial\dispatch.pyo", line 528, in _parse
  File "mercurial\cmdutil.pyo", line 342, in findcmd
UnknownCommand: ('svn', ['qheader', 'debugsuccessorssets', 'help', 'tip', 
'qgoto', 'config', 'showconfig', 'debugconfig', 'debugdate', 'debuglocks', 
'debugdata', 'addremove', 'parents', 'qtop', 'qdiff', 'rollback', 
'debugmergestate', 'qseries', 'debugrevspec', 'debugwalk', 'debuginstall', 
'qdelete', 'qremove', 'qrm', 'forget', 'resolve', 'commit', 'ci', 'incoming', 
'in', 'debugdag', 'bisect', 'rebase', 'revert', 'manifest', 'outgoing', 'out', 
'qinit', 'debugnamecomplete', 'qapplied', 'qfinish', 'debugfileset', 
'debuggetbundle', 'remove', 'rm', 'debugpushkey', 'qprev', 'version', 
'debugrebuilddirstate', 'debugrebuildstate', 'debugancestor', 'status', 'st', 
'locate', 'tags', 'qunapplied', 'qnew', 'debugpathcomplete', 'pull', 
'debugcheckstate', 'bundle', 'qselect', 'update', 'up', 'checkout', 'co', 
'diff', 'export', 'qqueue', 'qpop', 'debugdeltachain', 'backout', 'qimport', 
'rename', 'move', 'mv', 'init', 'qguard', 'strip', 
'debugapplystreamclonebundle', 'identify', 'id', 'qclone', 'heads', 
'debugsetparents', 'debugignore', 'debugobsolete', 'debugrename', 'files', 
'import', 'patch', 'debugrebuildfncache', 'debugdiscovery', 'debugwireargs', 
'qfold', 'unbundle', 'qnext', 'log', 'history', 'debugcomplete', 'clone', 
'grep', 'cat', 'debugrevlog', 'qrename', 'qmv', 'debugcommands', 'root', 
'debugsub', 'debuglabelcomplete', 'summary', 'sum', 'annotate', 'blame', 
'qrestore', 'postreview', 'tag', 'debugtemplate', 'recover', 'archive', 
'graft', 'paths', 'push', 'verify', 'debugextensions', 'debugfsinfo', 'branch', 
'copy', 'cp', 'qrefresh', 'qcommit', 'qci', 'serve', 'debugpvec', 
'debugcreatestreamclonebundle', 'bookmarks', 'bookmark', 'debugbuilddag', 
'debugindex', 'phase', 'add', 'branches', 'qpush', 'merge', 'debugindexdot', 
'debugdirstate', 'debugstate', 'debugknown', 'qsave', 'debugbundle'])
hg: unknown command 'svn'
Mercurial Distributed SCM

basic commands:

 add           add the specified files on the next commit
 annotate      show changeset information by line for each file
 clone         make a copy of an existing repository
 commit        commit the specified files or all outstanding changes
 diff          diff repository (or selected files)
 export        dump the header and diffs for one or more changesets
 forget        forget the specified files on the next commit
 init          create a new repository in the given directory
 log           show revision history of entire repository or files
 merge         merge another revision into working directory
 pull          pull changes from the specified source
 push          push changes to the specified destination
 qdiff         diff of the current patch and subsequent modifications
 qnew          create a new patch
 qpop          pop the current patch off the stack
 qpush         push the next patch onto the stack
 qrefresh      update the current patch
 remove        remove the specified files on the next commit
 serve         start stand-alone webserver
 status        show changed files in the working directory
 summary       summarize working directory state
 update        update working directory (or switch revisions)

(use "hg help" for the full list of commands or "hg -v" for details)
---
>>> Checking for a CVS repository...
>>> Checking for a Perforce repository...
>>> Unable to execute "p4 help": skipping Perforce
>>> Checking for a Plastic repository...
>>> Unable to execute "cm version": skipping Plastic
>>> Checking for a ClearCase repository...
>>> Unable to execute "cleartool help": skipping ClearCase
>>> Checking for a Bazaar repository...
>>> Unable to execute "bzr help": skipping Bazaar
>>> Checking for a Team Foundation Server repository...
>>> Unable to execute "tf help": skipping TFS
ERROR: The current directory does not contain a checkout from a supported 
source code repository.
```


# Please provide any additional information below.
It looks to me the rbt is not correctly invoking the mercurial client.

------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to