Skip to content

Commit 19834b3

Browse files
committed
master -> main
1 parent ecf8996 commit 19834b3

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/check-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Check Release
22
on:
33
push:
4-
branches: ["master", "*"]
4+
branches: ["main", "*"]
55
pull_request:
66
branches: ["*"]
77

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Test
22

33
on:
44
push:
5-
branches: master
5+
branches: main
66
pull_request:
77

88
jobs:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# [nbdime](https://github.com/jupyter/nbdime) Jupyter Notebook Diff and Merge tools
1010

1111
[![Test](https://github.com/jupyter/nbdime/actions/workflows/tests.yml/badge.svg)](https://github.com/jupyter/nbdime/actions/workflows/tests.yml)
12-
[![codecov.io](https://codecov.io/github/jupyter/nbdime/coverage.svg?branch=master)](https://codecov.io/github/jupyter/nbdime?branch=master)
12+
[![codecov.io](https://codecov.io/github/jupyter/nbdime/coverage.svg?branch=main)](https://codecov.io/github/jupyter/nbdime?branch=main)
1313
[![Documentation Status](https://readthedocs.org/projects/nbdime/badge/?version=latest)](http://nbdime.readthedocs.io/en/latest/?badge=latest)
1414
[![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
1515

docs/source/diffing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The diff objects in nbdime are:
3434
The difference between these input objects is represented by a
3535
json-compatible results object. A JSON schema for validating diff
3636
entries is available in
37-
`diff_format.schema.json <https://github.com/jupyter/nbdime/blob/master/nbdime/diff_format.schema.json>`_.
37+
`diff_format.schema.json <https://github.com/jupyter/nbdime/blob/main/nbdime/diff_format.schema.json>`_.
3838

3939
Diff format for mappings
4040
------------------------
@@ -115,4 +115,4 @@ function::
115115
Examples
116116
--------
117117

118-
For examples of diffs using nbdime, see `test_patch.py <https://github.com/jupyter/nbdime/blob/master/nbdime/tests/test_patch.py>`_.
118+
For examples of diffs using nbdime, see `test_patch.py <https://github.com/jupyter/nbdime/blob/main/nbdime/tests/test_patch.py>`_.

docs/source/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Testing
44
See the latest automated build, test, and coverage status at:
55

66
- `Build and test on Travis <https://travis-ci.org/jupyter/nbdime>`_
7-
- `Coverage on codecov <https://codecov.io/github/jupyter/nbdime?branch=master>`_
7+
- `Coverage on codecov <https://codecov.io/github/jupyter/nbdime?branch=main>`_
88

99
Dependencies
1010
------------

nbdime/tests/conftest.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def git_repo(tmpdir, request, filespath, needs_git, slow):
8989
save_cwd = os.getcwd()
9090
os.chdir(repo)
9191
request.addfinalizer(lambda: os.chdir(save_cwd))
92-
call('git init -b master'.split())
92+
call('git init -b main'.split())
9393

9494
# setup base branch
9595
src = filespath
@@ -98,23 +98,23 @@ def git_repo(tmpdir, request, filespath, needs_git, slow):
9898
shutil.copy(pjoin(src, 'src-and-output--1.ipynb'), pjoin(repo, 'diff.ipynb'))
9999
call('git add *.ipynb')
100100
call('git commit -m "init base branch"')
101-
# create base alias for master
102-
call('git checkout -b base master')
101+
# create base alias for main
102+
call('git checkout -b base main')
103103

104104
# setup local branch
105-
call('git checkout -b local master')
105+
call('git checkout -b local main')
106106
shutil.copy(pjoin(src, 'multilevel-test-local.ipynb'), pjoin(repo, 'merge-no-conflict.ipynb'))
107107
shutil.copy(pjoin(src, 'inline-conflict--2.ipynb'), pjoin(repo, 'merge-conflict.ipynb'))
108108
shutil.copy(pjoin(src, 'src-and-output--2.ipynb'), pjoin(repo, 'diff.ipynb'))
109109
call('git commit -am "create local branch"')
110110

111111
# setup remote branch with conflict
112-
call('git checkout -b remote-conflict master')
112+
call('git checkout -b remote-conflict main')
113113
shutil.copy(pjoin(src, 'inline-conflict--3.ipynb'), pjoin(repo, 'merge-conflict.ipynb'))
114114
call('git commit -am "create remote with conflict"')
115115

116116
# setup remote branch with no conflict
117-
call('git checkout -b remote-no-conflict master')
117+
call('git checkout -b remote-no-conflict main')
118118
shutil.copy(pjoin(src, 'multilevel-test-remote.ipynb'), pjoin(repo, 'merge-no-conflict.ipynb'))
119119
call('git commit -am "create remote with no conflict"')
120120

@@ -131,7 +131,7 @@ def git_repo2(tmpdir, request, filespath, needs_git, slow):
131131
save_cwd = os.getcwd()
132132
os.chdir(repo)
133133
request.addfinalizer(lambda: os.chdir(save_cwd))
134-
call('git init -b master'.split())
134+
call('git init -b main'.split())
135135

136136
# setup base branch
137137
src = filespath
@@ -140,17 +140,17 @@ def git_repo2(tmpdir, request, filespath, needs_git, slow):
140140
shutil.copy(pjoin(src, 'foo--1.ipynb'), pjoin(repo, 'sub', 'subfile.ipynb'))
141141
call('git add --all')
142142
call('git commit -m "init base branch"')
143-
# create base alias for master
144-
call('git checkout -b base master')
143+
# create base alias for main
144+
call('git checkout -b base main')
145145

146146
# setup local branch
147-
call('git checkout -b local master')
147+
call('git checkout -b local main')
148148
shutil.copy(pjoin(src, 'src-and-output--2.ipynb'), pjoin(repo, 'diff.ipynb'))
149149
shutil.copy(pjoin(src, 'foo--2.ipynb'), pjoin(repo, 'sub', 'subfile.ipynb'))
150150
call('git commit -am "create local branch"')
151151

152152
# setup remote branch
153-
call('git checkout -b remote master')
153+
call('git checkout -b remote main')
154154
shutil.copy(pjoin(src, 'foo--2.ipynb'), pjoin(repo, 'sub', 'subfile.ipynb'))
155155
shutil.copy(pjoin(src, 'markdown-only--1.ipynb'), pjoin(repo, 'sub', 'added.ipynb'))
156156
call('git add --all')

0 commit comments

Comments
 (0)