Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre Augier
try_workflow
Commits
9f11c9d74ec4
Commit
5c165f4b
authored
Sep 18, 2019
by
Pierre Augier
Browse files
produce_data.py without the produced data!
parent
30a4abe82a31
Changes
3
Hide whitespace changes
Inline
Side-by-side
.hgignore
0 → 100644
View file @
9f11c9d7
syntax: glob
datafile
README.md
View file @
9f11c9d7
...
...
@@ -2,3 +2,15 @@
I'd like to see if a bad obsoleted commit in a topic is fully deleted from the
repository when the topic is merged...
```
hg topic try_merge_bad_obs_commit
python produce_data.py
hg add
hg commit -m "Bad commit with data included"
# now the repository is big (~2 Mo)
hg forget datafile
hg add .hgignore
```
produce_data.py
0 → 100644
View file @
9f11c9d7
with
open
(
"datafile"
,
"w"
)
as
file
:
file
.
write
(
"heptapod is great!
\n
"
*
int
(
1e5
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment