Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save juliandescottes/81f4904816a2c08dc7666fb54e3e6104 to your computer and use it in GitHub Desktop.

Select an option

Save juliandescottes/81f4904816a2c08dc7666fb54e3e6104 to your computer and use it in GitHub Desktop.
DEBUG 2025-10-16 18:54:53,013 MozPhab (2.7.0)
DEBUG 2025-10-16 18:54:53,013 Forced update check: False.
DEBUG 2025-10-16 18:54:53,013 Time since last check is 677 seconds, skipping check for new versions.
DEBUG 2025-10-16 18:54:53,013 Not checking for updates.
DEBUG 2025-10-16 18:54:53,013 found git repo in /Users/juliandescottes/Development/mozilla/hg/mozilla-unified
DEBUG 2025-10-16 18:54:53,015 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 --version
DEBUG 2025-10-16 18:54:53,028 git version 2.50.0
DEBUG 2025-10-16 18:54:53,029 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 config --list
DEBUG 2025-10-16 18:54:53,038 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 rev-list HEAD --topo-order --boundary --not --remotes=main
DEBUG 2025-10-16 18:54:54,412 c97d522da578831fc202e711d80b7305a71dce8c
cb654cdfed4b286be84a80d8950f5382ac4c106f
e1539b74844d9365468fbf6d9f9c992a250ad6d2
2cf2229d19f4726f0fdb3aad56d4797bc1ceab6c
[... deleted 900k lines of jsut changesets]
7e8aa1b9930c0ab32367ed4d63a00b3057b17e48
9032ca6250b6c688f9be9109a460bee9035ba984
c4cc52826abd53e1121e4234d719cfd89ce58093
DEBUG 2025-10-16 18:54:54,650 Initializing Glean...
DEBUG 2025-10-16 18:54:54,701 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 help --all
DEBUG 2025-10-16 18:54:54,721 See 'git help <command>' to read about a specific subcommand
Main Porcelain Commands
add Add file contents to the index
am Apply a series of patches from a mailbox
archive Create an archive of files from a named tree
backfill Download missing objects in a partial clone
bisect Use binary search to find the commit that introduced a bug
branch List, create, or delete branches
bundle Move objects and refs by archive
checkout Switch branches or restore working tree files
cherry-pick Apply the changes introduced by some existing commits
citool Graphical alternative to git-commit
clean Remove untracked files from the working tree
clone Clone a repository into a new directory
commit Record changes to the repository
describe Give an object a human readable name based on an available ref
diff Show changes between commits, commit and working tree, etc
fetch Download objects and refs from another repository
format-patch Prepare patches for e-mail submission
gc Cleanup unnecessary files and optimize the local repository
gitk The Git repository browser
grep Print lines matching a pattern
gui A portable graphical interface to Git
init Create an empty Git repository or reinitialize an existing one
log Show commit logs
maintenance Run tasks to optimize Git repository data
merge Join two or more development histories together
mv Move or rename a file, a directory, or a symlink
notes Add or inspect object notes
pull Fetch from and integrate with another repository or a local branch
push Update remote refs along with associated objects
range-diff Compare two commit ranges (e.g. two versions of a branch)
rebase Reapply commits on top of another base tip
reset Reset current HEAD to the specified state
restore Restore working tree files
revert Revert some existing commits
rm Remove files from the working tree and from the index
scalar A tool for managing large Git repositories
shortlog Summarize 'git log' output
show Show various types of objects
sparse-checkout Reduce your working tree to a subset of tracked files
stash Stash the changes in a dirty working directory away
status Show the working tree status
submodule Initialize, update or inspect submodules
switch Switch branches
tag Create, list, delete or verify a tag object signed with GPG
worktree Manage multiple working trees
Ancillary Commands / Manipulators
config Get and set repository or global options
fast-export Git data exporter
fast-import Backend for fast Git data importers
filter-branch Rewrite branches
mergetool Run merge conflict resolution tools to resolve merge conflicts
pack-refs Pack heads and tags for efficient repository access
prune Prune all unreachable objects from the object database
reflog Manage reflog information
refs Low-level access to refs
remote Manage set of tracked repositories
repack Pack unpacked objects in a repository
replace Create, list, delete refs to replace objects
Ancillary Commands / Interrogators
annotate Annotate file lines with commit information
blame Show what revision and author last modified each line of a file
bugreport Collect information for user to file a bug report
count-objects Count unpacked number of objects and their disk consumption
diagnose Generate a zip archive of diagnostic information
difftool Show changes using common diff tools
fsck Verifies the connectivity and validity of the objects in the database
gitweb Git web interface (web frontend to Git repositories)
help Display help information about Git
instaweb Instantly browse your working repository in gitweb
merge-tree Perform merge without touching index or working tree
rerere Reuse recorded resolution of conflicted merges
show-branch Show branches and their commits
verify-commit Check the GPG signature of commits
verify-tag Check the GPG signature of tags
version Display version information about Git
whatchanged Show logs with differences each commit introduces
Interacting with Others
archimport Import a GNU Arch repository into Git
cvsexportcommit Export a single commit to a CVS checkout
cvsimport Salvage your data out of another SCM people love to hate
cvsserver A CVS server emulator for Git
imap-send Send a collection of patches from stdin to an IMAP folder
p4 Import from and submit to Perforce repositories
quiltimport Applies a quilt patchset onto the current branch
request-pull Generates a summary of pending changes
send-email Send a collection of patches as emails
svn Bidirectional operation between a Subversion repository and Git
Low-level Commands / Manipulators
apply Apply a patch to files and/or to the index
checkout-index Copy files from the index to the working tree
commit-graph Write and verify Git commit-graph files
commit-tree Create a new commit object
hash-object Compute object ID and optionally create an object from a file
index-pack Build pack index file for an existing packed archive
merge-file Run a three-way file merge
merge-index Run a merge for files needing merging
mktag Creates a tag object with extra validation
mktree Build a tree-object from ls-tree formatted text
multi-pack-index Write and verify multi-pack-indexes
pack-objects Create a packed archive of objects
prune-packed Remove extra objects that are already in pack files
read-tree Reads tree information into the index
replay EXPERIMENTAL: Replay commits on a new base, works with bare repos too
symbolic-ref Read, modify and delete symbolic refs
unpack-objects Unpack objects from a packed archive
update-index Register file contents in the working tree to the index
update-ref Update the object name stored in a ref safely
write-tree Create a tree object from the current index
Low-level Commands / Interrogators
cat-file Provide contents or details of repository objects
cherry Find commits yet to be applied to upstream
diff-files Compares files in the working tree and the index
diff-index Compare a tree to the working tree or index
diff-pairs Compare the content and mode of provided blob pairs
diff-tree Compares the content and mode of blobs found via two tree objects
for-each-ref Output information on each ref
for-each-repo Run a Git command on a list of repositories
get-tar-commit-id Extract commit ID from an archive created using git-archive
ls-files Show information about files in the index and the working tree
ls-remote List references in a remote repository
ls-tree List the contents of a tree object
merge-base Find as good common ancestors as possible for a merge
name-rev Find symbolic names for given revs
pack-redundant Find redundant pack files
rev-list Lists commit objects in reverse chronological order
rev-parse Pick out and massage parameters
show-index Show packed archive index
show-ref List references in a local repository
unpack-file Creates a temporary file with a blob's contents
var Show a Git logical variable
verify-pack Validate packed Git archive files
Low-level Commands / Syncing Repositories
daemon A really simple server for Git repositories
fetch-pack Receive missing objects from another repository
http-backend Server side implementation of Git over HTTP
send-pack Push objects over Git protocol to another repository
update-server-info Update auxiliary info file to help dumb servers
Low-level Commands / Internal Helpers
check-attr Display gitattributes information
check-ignore Debug gitignore / exclude files
check-mailmap Show canonical names and email addresses of contacts
check-ref-format Ensures that a reference name is well formed
column Display data in columns
credential Retrieve and store user credentials
credential-cache Helper to temporarily store passwords in memory
credential-store Helper to store credentials on disk
fmt-merge-msg Produce a merge commit message
hook Run git hooks
interpret-trailers Add or parse structured information in commit messages
mailinfo Extracts patch and authorship from a single e-mail message
mailsplit Simple UNIX mbox splitter program
merge-one-file The standard helper program to use with git-merge-index
patch-id Compute unique ID for a patch
sh-i18n Git's i18n setup code for shell scripts
sh-setup Common Git shell script setup code
stripspace Remove unnecessary whitespace
User-facing repository, command and file interfaces
attributes Defining attributes per path
cli Git command-line interface and conventions
hooks Hooks used by Git
ignore Specifies intentionally untracked files to ignore
mailmap Map author/committer names and/or E-Mail addresses
modules Defining submodule properties
repository-layout Git Repository Layout
revisions Specifying revisions and ranges for Git
Developer-facing file formats, protocols and other interfaces
format-bundle The bundle file format
format-chunk Chunk-based file formats
format-commit-graph Git commit-graph format
format-index Git index format
format-pack Git pack format
format-signature Git cryptographic signature formats
protocol-capabilities Protocol v0 and v1 capabilities
protocol-common Things common to various protocols
protocol-http Git HTTP-based protocols
protocol-pack How packs are transferred over-the-wire
protocol-v2 Git Wire Protocol, Version 2
External commands
cinnabar
glimpse
remote-hg
Command aliases
a add
ap add -p
b !git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'
bd branch -D
bk checkout @{-1}
c commit --verbose
ca commit -a --verbose
cam commit -a -m
cm commit -m
co checkout
cob checkout -b
d diff
dc diff --cached
ds diff --stat
export !f() { git diff ${1}~1 ${1}; }; f
fix commit -a --amend --no-edit
headshot reset --hard HEAD~1
l log --pretty=format:%C(yellow)%h\ %ad%Cred%d\ %Creset%s%Cblue\ [%cn] --decorate --date=short
la !git config -l | grep alias | cut -c 7-
m commit --amend --verbose
now log -1
s status -s
wip for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
DEBUG 2025-10-16 18:54:54,721 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 diff-index HEAD
DEBUG 2025-10-16 18:54:55,064 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 symbolic-ref HEAD
DEBUG 2025-10-16 18:54:55,074 refs/heads/bug1992763
DEBUG 2025-10-16 18:54:55,075 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 log --reverse --ancestry-path --quiet '--format=%aD%n%an%n%ae%n%p%n%T%n%H%n%s%n%n%b--ff37354548be414886f3914583b9c067--\n' 'c4cc52826abd53e1121e4234d719cfd89ce58093^...'
DEBUG 2025-10-16 18:54:55,094 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 gc --auto --quiet
DEBUG 2025-10-16 18:54:55,105 $ git -c i18n.logOutputEncoding=UTF-8 -c i18n.commitEncoding=UTF-8 checkout --quiet bug1992763
ERROR 2025-10-16 18:54:55,479 Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/subprocess_wrapper.py", line 95, in check_output
output = subprocess.check_output(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.13/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.13/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', '-c', 'i18n.logOutputEncoding=UTF-8', '-c', 'i18n.commitEncoding=UTF-8', 'log', '--reverse', '--ancestry-path', '--quiet', '--format=%aD%n%an%n%ae%n%p%n%T%n%H%n%s%n%n%b--ff37354548be414886f3914583b9c067--\n', 'c4cc52826abd53e1121e4234d719cfd89ce58093^...']' returned non-zero exit status 128.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/mozphab.py", line 133, in main
args.func(repo, args)
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/commands/submit.py", line 727, in submit
raise e
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/commands/submit.py", line 718, in submit
return _submit(repo, args)
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/commands/submit.py", line 519, in _submit
commits = repo.commit_stack(single=args.single)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/git.py", line 380, in commit_stack
for log_line in self._get_commits_info(*self.revset):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/git.py", line 334, in _get_commits_info
log = self.git_out(
^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/git.py", line 157, in git_out
return self.git.output(
^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/gitcommand.py", line 69, in output
return check_output(self.command + unicode_args + git_args, env=env, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/mozphab/subprocess_wrapper.py", line 108, in check_output
raise CommandError(
mozphab.exceptions.CommandError: command 'git' failed to complete successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment