sapling/eden/scm/.gitignore
Mark Shroyer ac6d40c320 git: respect 'default-push' path if present (#469)
Summary:
git: respect 'default-push' path if present
In non-Git mode, 'hg push' (without an explicit path) pushes to the
'default-push' path if present, falling back to the 'default' path.

In Git mode, 'sl push' (without an explicit path) always pushes to the 'default'
path. 'default-push' is ignored.

Teach Git mode to push to 'default-push' if present, similar to how it works in
non-Git mode.

This commit only affects 'sl push'. 'sl pr submit' still ignores the
'default-push' path.

Pull Request resolved: https://github.com/facebook/sapling/pull/469

Test Plan: $ (cd tests && python run-tests.py test-git-push-default-push.t)

Reviewed By: muirdm

Differential Revision: D43336914

Pulled By: quark-zju

fbshipit-source-id: f11c45fb2bd8678b6be7294bf15359131db0ee2e
2023-02-17 12:04:00 -08:00

100 lines
1.3 KiB
Plaintext

*.elc
*.tmp
*.orig
*.rej
*~
*.mergebackup
*.o
*.so
*.dll
*.exe
*.pdb
*.pyd
*.pyc
*.pyo
*.swp
*.prof
*.zip
.cargo/config
.shim/
tests/.coverage*
tests/.test*
tests/comprehensive/.test*
fb/tests/.test*
tests/.hypothesis
tests/hypothesis-generated
tests/annotated
tests/exceptions
tests/*.err
fb/tests/*.err
tests/htmlcov
tests/getdb.sh
tests/testutil/getdb.py
tests/__pycache__/
contrib/chg/chg
contrib/chg/libchg.a
contrib/hgsh/hgsh
contrib/vagrant/.vagrant
contrib/docker/debian-*
contrib/docker/ubuntu-*
dist
packages
doc/common.txt
doc/*.[0-9]
doc/*.[0-9].txt
doc/*.[0-9].gendoc.txt
doc/*.[0-9].xml
doc/*.[0-9].html
!Makefile
MANIFEST
MANIFEST.in
patches
edenscm/__modulepolicy__.py
edenscm/__version__.py
edenscm/hgpythonlib.h
edenscm/mercurial.egg-info
.DS_Store
tags
cscope.*
.idea/
.asv/
i18n/hg.pot
edenscm/locale/*/LC_MESSAGES/hg.mo
edenscm/hgext/__index__.py
edenscmnative/clindex.c
edenscmnative/linelog.c
edenscmnative/litemmap.c
edenscmnative/patchrmdir.c
edenscmnative/traceprof.cpp
# Build output
build
debbuild/
install/
.pytype/
rpmbuild/
getdeps_build.log
# Rust libraries and extensions
Cargo.lock
target/
# Generated wheels
wheelhouse/
*.pc/
# hackable windows distribution additions
hg-python
hg.py
# scm binary
hg
hg3
sl
# make-local Windows artifacts
hgrc.d
make.bat
mercurial.ini