Message from @DanielKO

Discord ID: 463906658960277504


2018-07-04 01:50:15 UTC  

"rebase"

2018-07-04 01:50:17 UTC  

"???"

2018-07-04 02:35:06 UTC  

`git reset --hard`

2018-07-04 02:35:35 UTC  

That's why I use mercurial.

2018-07-04 03:13:12 UTC  

I had to fix a mercurial server about a year ago that had destroyed every single repository on it after an update

2018-07-04 03:13:46 UTC  

I mean I've had messed up git repos but this was next level

2018-07-04 03:14:03 UTC  

still better than f*ing SVN though seriously fuck SVN

2018-07-04 03:14:05 UTC  

Weird, I never seen that.

2018-07-04 03:14:15 UTC  

You have to go out of your way to fuck up a mercurial repo.

2018-07-04 03:14:30 UTC  

dude, the people who were using it were/are idiots

2018-07-04 03:14:43 UTC  

WordPress shop

2018-07-04 03:14:58 UTC  

outsources 90% of their work to the philippines

2018-07-04 03:15:42 UTC  

couldn't do a mysql dump on the command line to save their lives - they literally installed some admin panel software just to do dumps

2018-07-04 03:16:01 UTC  

I wrote them scripts to do a bunch of shit

2018-07-04 03:16:16 UTC  

Worst repos I had to work with were git, full of hooks everywhere. You literally couldn't commit anything without first setting up a bunch of environment variables and having certain special programs installed.

2018-07-04 03:16:42 UTC  

ugh that's pretty terrible

2018-07-04 03:17:40 UTC  

worst hook issue I ever encountered was someone set up a repo where you had to tie an issue that you created beforehand to a push. It actually worked well beause they kept track of things that way but it was a pain in the ass

2018-07-04 03:17:56 UTC  

litearlly that's what feature branches are for

2018-07-04 03:18:14 UTC  

Even worse, the project manager would delete the entire development branch from the repo's history every 2 weeks because he fucked something up. Suddenly I couldn't even pull any new changes from the repo, because the branch where I forked off to do my work didn't exist.

2018-07-04 03:18:55 UTC  

well I can't say I condone everyone working in the same branch, but I can feel your pain there

2018-07-04 03:19:26 UTC  

We didn't work on the same branch, we would each fork off the "devel" branch into our own feature branch.

2018-07-04 03:19:40 UTC  

But once the "devel" branch disappears entirely from the repo's history, git errors out.

2018-07-04 03:19:59 UTC  

aah so you mean people would have offsets beause some people had more commits than others before the devel branch dissapeared

2018-07-04 03:20:11 UTC  

and merge conflicts and crap

2018-07-04 03:20:25 UTC  

And the hooks prevented it from looking at my own repo's "devel" branch. If you do that in Mercurial (and I assume unhooked git), the missing nodes would be restored automatically.

2018-07-04 03:20:28 UTC  

did he also rebase shit constantly?

2018-07-04 03:21:04 UTC  

He was the one that would merge the feature branches back into "devel" and eventually merge it into "stable."

2018-07-04 03:21:17 UTC  

ugh

2018-07-04 03:21:51 UTC  

I think your preference for mercurial here may be more an issue of dealing with people who use git poorly than actual faults of git

2018-07-04 03:22:03 UTC  

kind of like how I dislike STL in C++

2018-07-04 03:22:30 UTC  

Nah, on git, it's a feature to change the history of the repo, on hg, the feature is that you **can't** change the history.

2018-07-04 03:23:13 UTC  

I get what you're saying, but absue of a feature and availability of the feature aren't the same thing

2018-07-04 03:23:34 UTC  

I like that I can change history in git, and have used that with a purpose, but I don't abuse it

2018-07-04 03:23:46 UTC  

I also basically never set hooks

2018-07-04 03:24:39 UTC  

My gripes with git:
* Documentation sucks. It was much, much worse, but it still sucks; 99% of git users needs to locate a stackoverflow answer through google if their commit/pull/push/merge doesn't work off the bat.
* Many common commands are convoluted, you sometimes need the collateral effect of a different command, because it wasn't designed to help the programmer complete tasks.
* Why the fuck does it have to use different naming scheme from every other source control tool out there?

2018-07-04 03:26:14 UTC  

```
I make a one-line change to a single file.
I commit my change.
I git push, only to be told “! [rejected] master -> master (non-fast forward)”. (This is git’s cuddly way of telling you to do a pull first.)
I git pull, only to be told “CONFLICT (content): Merge conflict in filename. Automatic merge failed; fix conflicts and then commit the result.”
```

2018-07-04 03:26:49 UTC  

I also have the most plain vim and zsh configurations. I hate people who customize stuff to the point you have to ask them how to do anything on their setup becuase they've overwritten standard stuff or things behave differently to non standard.

I used to have a clip of Warf demading someone change the layout of the LCARS display to standard to refer to this

2018-07-04 03:27:01 UTC  

In Mercurial, if you really need to, say, wipe something out of the repo, you can roll back, deleting everything, then re-do the commits. But any other copy will see what happened, they won't be fooled.

2018-07-04 03:27:09 UTC  

I'd rather have a tool that ensures some security.

2018-07-04 03:27:42 UTC  

aah I feel you on that point